diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2010-04-25 22:41:14 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2010-04-25 22:41:14 -0400 |
commit | b84ac9d73345a763754c7d2ce6afb3a2b9a58471 (patch) | |
tree | f5defdb3b8fc4b217883f450f3dfb138f534f398 /WWW/Library/Implementation/HTNews.c | |
parent | ced28eb9c0599f0ee0e2ddd23c5f5b260f20ed5b (diff) | |
download | lynx-snapshots-b84ac9d73345a763754c7d2ce6afb3a2b9a58471.tar.gz |
snapshot of project "lynx", label v2-8-8dev_2i
Diffstat (limited to 'WWW/Library/Implementation/HTNews.c')
-rw-r--r-- | WWW/Library/Implementation/HTNews.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/WWW/Library/Implementation/HTNews.c b/WWW/Library/Implementation/HTNews.c index 0c5d4054..d4163855 100644 --- a/WWW/Library/Implementation/HTNews.c +++ b/WWW/Library/Implementation/HTNews.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTNews.c,v 1.60 2009/05/24 23:11:26 tom Exp $ + * $LynxId: HTNews.c,v 1.61 2010/04/25 19:46:01 tom Exp $ * * NEWS ACCESS HTNews.c * =========== @@ -927,7 +927,7 @@ static void post_article(char *postfile) in_header = 0; if (!seen_fromline) { if (blen >= (int) sizeof(buf) - 35) { - NEWS_NETWRITE(s, buf, blen); + IGNORE_RC(NEWS_NETWRITE(s, buf, blen)); buf[blen = 0] = 0; } strcat(buf, "From: anonymous@nowhere.you.know"); @@ -947,7 +947,7 @@ static void post_article(char *postfile) strcat(line, crlf); llen += 2; if ((blen + llen) >= (int) sizeof(buf) - 1) { - NEWS_NETWRITE(s, buf, blen); + IGNORE_RC(NEWS_NETWRITE(s, buf, blen)); buf[blen = 0] = 0; } strcat(buf, line); @@ -960,13 +960,13 @@ static void post_article(char *postfile) * Send the nntp EOF and get the server's response. - FM */ if (blen >= (int) sizeof(buf) - 4) { - NEWS_NETWRITE(s, buf, blen); + IGNORE_RC(NEWS_NETWRITE(s, buf, blen)); buf[blen = 0] = 0; } strcat(buf, "."); strcat(buf, crlf); blen += 3; - NEWS_NETWRITE(s, buf, blen); + IGNORE_RC(NEWS_NETWRITE(s, buf, blen)); status = response(NULL); if (status == 240) { |