X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/648dd5a3eb3c84fdef63b0b1123303741c17ddee..6e1d79d58e5da5ba06bc42ebebd2f6f8f2ceb52e:/uip/mhstoresbr.c diff --git a/uip/mhstoresbr.c b/uip/mhstoresbr.c index 8360eecd..a2bc919e 100644 --- a/uip/mhstoresbr.c +++ b/uip/mhstoresbr.c @@ -650,7 +650,7 @@ got_filename: if (first_partial) fprintf (stderr, "reassembling partials "); if (last_partial) - fprintf (stderr, "%s", ct->c_file); + fputs(ct->c_file, stderr); else fprintf (stderr, "%s,", ct->c_file); } else { @@ -835,7 +835,7 @@ losing: } } - while (fgets (buffer, sizeof(buffer) - 1, ct->c_fp)) { + while (fgets (buffer, sizeof buffer, ct->c_fp)) { if ((pos += strlen (buffer)) > last) { int diff;