lib/log: Always flush after writing logs
authorJeremy Kerr <jk@ozlabs.org>
Fri, 1 Nov 2013 02:33:02 +0000 (10:33 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 1 Nov 2013 07:32:54 +0000 (15:32 +0800)
commitb08de841267546726f452c89cc326a493ec6549c
tree2e4f1b439999d10ee42631fb1db8cb6832f3de76
parent089d0a6eb769d531129a7cd1061493a1a24b4bef
lib/log: Always flush after writing logs

We're currently seeing empty log files from the discover server. Rather
than only flishing if the server was compiled with debugging enabled,
always perform the fflush.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/log/log.c