diff options
author | mhsin <mhsin@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-26 19:23:21 +0800 |
---|---|---|
committer | mhsin <mhsin@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-26 19:23:21 +0800 |
commit | 5139198f3682c035d52ab432d6fe55336c847afb (patch) | |
tree | 5844b6771a7fded9cfa91d1dc00a09792c54265e /innbbsd/bbslink.c | |
parent | eb4d5c415955e48ba303772657786a20ee7f727a (diff) | |
download | pttbbs-5139198f3682c035d52ab432d6fe55336c847afb.tar pttbbs-5139198f3682c035d52ab432d6fe55336c847afb.tar.gz pttbbs-5139198f3682c035d52ab432d6fe55336c847afb.tar.bz2 pttbbs-5139198f3682c035d52ab432d6fe55336c847afb.tar.lz pttbbs-5139198f3682c035d52ab432d6fe55336c847afb.tar.xz pttbbs-5139198f3682c035d52ab432d6fe55336c847afb.tar.zst pttbbs-5139198f3682c035d52ab432d6fe55336c847afb.zip |
Sync local mod.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4249 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/bbslink.c')
-rw-r--r-- | innbbsd/bbslink.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/innbbsd/bbslink.c b/innbbsd/bbslink.c index fde7af9e..b81469d9 100644 --- a/innbbsd/bbslink.c +++ b/innbbsd/bbslink.c @@ -874,8 +874,16 @@ post_article(node, site, sover, textline) if (!strstr(tcpmessage(), "Article not posted")&& !strstr(tcpmessage(), "435 Duplicate") && !strstr(tcpmessage(), "No valid newsgroups") && - (strncmp(tcpmessage(), " 437 ", 5) != 0)) + !strstr(tcpmessage(), "Article is empty") && + (strncmp(tcpmessage(), " 437 ", 5) != 0) /*&& + (strncmp(tcpmessage(), " 441 ", 5) != 0)*/) queuefeed(node, textline); + else + { + bbslog("<bbslink> discarded\n"); + if(Verbose) + printf(" discarded\n"); + } return 0; } } else { |