Fix logger

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-11-16 13:52:35 +00:00
parent 0c67840847
commit e6a9e6f90c

View File

@@ -615,7 +615,7 @@ extern void ast_verbose(const char *fmt, ...)
vsnprintf(stuff + pos, sizeof(stuff) - pos, fmt, ap); vsnprintf(stuff + pos, sizeof(stuff) - pos, fmt, ap);
opos = pos; opos = pos;
pos = strlen(stuff); pos = strlen(stuff);
if (fmt[strlen(fmt)-1] == '\n') if (stuff[strlen(stuff)-1] == '\n')
complete = 1; complete = 1;
else else
complete=0; complete=0;