[asterisk-commits] tilghman: trunk r135900 - in /trunk: ./ include/asterisk/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 5 22:04:01 CDT 2008
Author: tilghman
Date: Tue Aug 5 22:04:01 2008
New Revision: 135900
URL: http://svn.digium.com/view/asterisk?view=rev&rev=135900
Log:
Merged revisions 135899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r135899 | tilghman | 2008-08-05 22:02:59 -0500 (Tue, 05 Aug 2008) | 4 lines
1) Bugfix for debugging code
2) Reduce compiler warnings for another section of debugging code
(Closes issue #13237)
........
Modified:
trunk/ (props changed)
trunk/include/asterisk/threadstorage.h
trunk/include/asterisk/utils.h
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/include/asterisk/threadstorage.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/threadstorage.h?view=diff&rev=135900&r1=135899&r2=135900
==============================================================================
--- trunk/include/asterisk/threadstorage.h (original)
+++ trunk/include/asterisk/threadstorage.h Tue Aug 5 22:04:01 2008
@@ -199,7 +199,7 @@
return NULL;
}
pthread_setspecific(ts->key, buf);
- __ast_threadstorage_object_add(buf, init_size, file, function, line);
+ __ast_threadstorage_object_add(ts->key, init_size, file, function, line);
}
return buf;
Modified: trunk/include/asterisk/utils.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/utils.h?view=diff&rev=135900&r1=135899&r2=135900
==============================================================================
--- trunk/include/asterisk/utils.h (original)
+++ trunk/include/asterisk/utils.h Tue Aug 5 22:04:01 2008
@@ -591,7 +591,7 @@
#define ast_realloc(a,b) realloc(a,b)
#define ast_strdup(a) strdup(a)
#define ast_strndup(a,b) strndup(a,b)
-#define ast_asprintf(a,b,c) asprintf(a,b,c)
+#define ast_asprintf(a,b,...) asprintf(a,b,__VA_ARGS__)
#define ast_vasprintf(a,b,c) vasprintf(a,b,c)
#endif /* AST_DEBUG_MALLOC */
More information about the asterisk-commits
mailing list