summaryrefslogtreecommitdiffstats
path: root/innbbsd/bbslink.c
diff options
context:
space:
mode:
Diffstat (limited to 'innbbsd/bbslink.c')
-rw-r--r--innbbsd/bbslink.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/innbbsd/bbslink.c b/innbbsd/bbslink.c
index 93655560..51bdb3a7 100644
--- a/innbbsd/bbslink.c
+++ b/innbbsd/bbslink.c
@@ -847,7 +847,8 @@ post_article(node, site, sover, textline)
bbslog("<bbslink> :Err: %d %s of <%s>\n", status, (char *)tcpmessage(), msgid);
if (Verbose)
printf(":Err: %d %s of <%s>\n", status, (char *)tcpmessage(), msgid);
- if (!strstr(tcpmessage(), "Article not posted"))
+ if (!strstr(tcpmessage(), "Article not posted")&&
+ !strstr(tcpmessage(), "Duplicate"))
queuefeed(node, textline);
return 0;
}
@@ -861,7 +862,8 @@ post_article(node, site, sover, textline)
return 0;
} else {
bbslog("<bbslink> :Err: %d %s of <%s>\n", status, (char *)tcpmessage(), msgid);
- if (!strstr(tcpmessage(), "Article not posted"))
+ if (!strstr(tcpmessage(), "Article not posted")&&
+ !strstr(tcpmessage(), "435 Duplicate"))
queuefeed(node, textline);
return 0;
}
@@ -874,7 +876,8 @@ post_article(node, site, sover, textline)
bbslog("<bbslink> :Err: %d %s of <%s>\n", status, (char *)tcpmessage(), msgid);
if (Verbose)
printf(":Err: %d %s of <%s>\n", status, (char *)tcpmessage(), msgid);
- if (!strstr(tcpmessage(), "Article not posted"))
+ if (!strstr(tcpmessage(), "Article not posted")&&
+ !strstr(tcpmessage(), "Duplicate"))
queuefeed(node, textline);
return 0;
}