[svn-commits] russell: branch russell/ast_verbose_threadstorage
r38406 - /team/russell/ast_...
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Jul 27 23:18:12 MST 2006
Author: russell
Date: Fri Jul 28 01:18:11 2006
New Revision: 38406
URL: http://svn.digium.com/view/asterisk?rev=38406&view=rev
Log:
add a couple missing va_end/va_start
Modified:
team/russell/ast_verbose_threadstorage/logger.c
Modified: team/russell/ast_verbose_threadstorage/logger.c
URL: http://svn.digium.com/view/asterisk/team/russell/ast_verbose_threadstorage/logger.c?rev=38406&r1=38405&r2=38406&view=diff
==============================================================================
--- team/russell/ast_verbose_threadstorage/logger.c (original)
+++ team/russell/ast_verbose_threadstorage/logger.c Fri Jul 28 01:18:11 2006
@@ -837,6 +837,8 @@
}
buf->len *= 2;
pthread_setspecific(log_buf_key, buf);
+ va_end(ap);
+ va_start(ap, fmt);
res = vsnprintf(buf->str, buf->len, fmt, ap);
}
va_end(ap);
@@ -863,6 +865,8 @@
}
buf->len *= 2;
pthread_setspecific(log_buf_key, buf);
+ va_end(ap);
+ va_start(ap, fmt);
res = vsnprintf(buf->str, buf->len, fmt, ap);
}
va_end(ap);
More information about the svn-commits
mailing list