Don't buffer the event files, eg: messages

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2004-02-03 16:43:07 +00:00
parent 694058ccb1
commit 9bd6034f9b

View File

@@ -474,6 +474,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
vsnprintf(buf, sizeof(buf), fmt, ap); vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap); va_end(ap);
fprintf(chan->fileptr, buf); fprintf(chan->fileptr, buf);
fflush(chan->fileptr);
} }
chan = chan->next; chan = chan->next;
} }