summaryrefslogtreecommitdiffstats
path: root/innbbsd/bbslink.c
diff options
context:
space:
mode:
Diffstat (limited to 'innbbsd/bbslink.c')
-rw-r--r--innbbsd/bbslink.c10
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 {