[asterisk-commits] russell: branch russell/ast_verbose_threadstorage r39015 - /team/russell/ast_...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Aug 5 04:26:52 MST 2006


Author: russell
Date: Sat Aug  5 06:26:52 2006
New Revision: 39015

URL: http://svn.digium.com/view/asterisk?rev=39015&view=rev
Log:
fix unitialized variable usage

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=39015&r1=39014&r2=39015&view=diff
==============================================================================
--- team/russell/ast_verbose_threadstorage/logger.c (original)
+++ team/russell/ast_verbose_threadstorage/logger.c Sat Aug  5 06:26:52 2006
@@ -776,7 +776,7 @@
 					int res;
 					/* No error message, continue printing */
 					va_start(ap, fmt);
-					ast_dynamic_str_thread_set_va(&buf, BUFSIZ, &log_buf, fmt, ap);
+					res = ast_dynamic_str_thread_set_va(&buf, BUFSIZ, &log_buf, fmt, ap);
 					va_end(ap);
 					if (res != AST_DYNSTR_SET_FAILED) {
 						term_strip(buf->str, buf->str, buf->len);



More information about the asterisk-commits mailing list