attempt to fix scannews

This commit is contained in:
Michiel Broek 2002-01-21 19:26:39 +00:00
parent ecf3db5f80
commit ad7dbc2f96

View File

@ -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 {