diff options
author | robertabcd <robertabcd@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2011-11-25 13:57:06 +0800 |
---|---|---|
committer | robertabcd <robertabcd@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2011-11-25 13:57:06 +0800 |
commit | 24020ab34138c18d412d05f337f552013a609a88 (patch) | |
tree | 39ecde9e0e8b52898a3741a516b3ed75b285640c | |
parent | b62b60357a5aa535a3dec5526bdf8aa7a72bb7ec (diff) | |
download | pttbbs-24020ab34138c18d412d05f337f552013a609a88.tar pttbbs-24020ab34138c18d412d05f337f552013a609a88.tar.gz pttbbs-24020ab34138c18d412d05f337f552013a609a88.tar.bz2 pttbbs-24020ab34138c18d412d05f337f552013a609a88.tar.lz pttbbs-24020ab34138c18d412d05f337f552013a609a88.tar.xz pttbbs-24020ab34138c18d412d05f337f552013a609a88.tar.zst pttbbs-24020ab34138c18d412d05f337f552013a609a88.zip |
fix send mail failure when not using forwarding
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5470 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/record.c b/pttbbs/mbbsd/record.c index 5803c355..bba0fd79 100644 --- a/pttbbs/mbbsd/record.c +++ b/pttbbs/mbbsd/record.c @@ -514,7 +514,7 @@ append_record_forward(char *fpath, fileheader_t * record, int size, const char * strcpy(buf + n + 1, ".forward"); fp = fopen(buf, "r"); if (!fp) - return -1; + return 0; // Load and setup address address[0] = 0; |