From ad7dbc2f9618ae01e67877e84f9f8a60de509108 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 21 Jan 2002 19:26:39 +0000 Subject: [PATCH] attempt to fix scannews --- mbfido/scannews.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mbfido/scannews.c b/mbfido/scannews.c index 57d123e7..0b80177c 100644 --- a/mbfido/scannews.c +++ b/mbfido/scannews.c @@ -352,8 +352,9 @@ int get_article(char *msgid, char *ftntag) } while (done == FALSE) { resp = nntp_receive(); - fprintf(dp, resp); + fwrite(resp, strlen(resp), 1, dp); fprintf(dp, "\n"); + fflush(dp); if ((strlen(resp) == 1) && (strcmp(resp, ".") == 0)) { done = TRUE; } else {