flush stdout on each debug log message

This commit is contained in:
Nedko Arnaudov 2010-06-21 02:27:44 +03:00
parent 26af06e96a
commit 5c99ecb69a
1 changed files with 1 additions and 0 deletions

View File

@ -1540,6 +1540,7 @@ f_debug_message (svalue_t *sp)
|| (sp->u.number & DMSG_LOGFILE))
fputs(pTxt, stdout);
#endif
fflush(stdout);
slen -= strlen(pTxt);
pTxt += strlen(pTxt);