Commit c3597849 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(message2_nolog): Don't call fwrite will null string.

parent 2c99f3ea
......@@ -418,7 +418,8 @@ message2_nolog (m, len)
if (noninteractive_need_newline)
putc ('\n', stderr);
noninteractive_need_newline = 0;
fwrite (m, len, 1, stderr);
if (m)
fwrite (m, len, 1, stderr);
if (cursor_in_echo_area == 0)
fprintf (stderr, "\n");
fflush (stderr);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment