dect
/
asterisk
Archived
13
0
Fork 0

Fix logger

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4263 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2004-11-16 13:52:35 +00:00
parent c71aeec021
commit b645d62a1f
1 changed files with 1 additions and 1 deletions

View File

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