From 24020ab34138c18d412d05f337f552013a609a88 Mon Sep 17 00:00:00 2001 From: robertabcd Date: Fri, 25 Nov 2011 05:57:06 +0000 Subject: fix send mail failure when not using forwarding git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5470 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3