Commit 5319c7c1 authored by Michael I. Bushnell's avatar Michael I. Bushnell
Browse files

timer.c (notify): Flush stdout after writing message to avoid lossage

on terminals.
parent dbac6e3d
...@@ -131,6 +131,7 @@ notify () ...@@ -131,6 +131,7 @@ notify ()
if (ep->reply_at <= now) if (ep->reply_at <= now)
{ {
fputs (ep->token, stdout); fputs (ep->token, stdout);
 putc ('\n', stdout);
fflush (stdout); fflush (stdout);
free (ep->token); free (ep->token);
......
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