Commit 507876f3 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 ac96728d
......@@ -131,6 +131,7 @@ notify ()
if (ep->reply_at <= now)
fputs (ep->token, stdout);
fflush (stdout);
free (ep->token);
/* We now have a hole in the event array; fill it with the last
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