[asterisk-commits] seanbright: trunk r137403 - /trunk/cdr/cdr_tds.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 13 09:22:48 CDT 2008


Author: seanbright
Date: Wed Aug 13 09:22:47 2008
New Revision: 137403

URL: http://svn.digium.com/view/asterisk?view=rev&rev=137403
Log:
Use the ast_vasprintf macro instead of vasprintf directly.

Modified:
    trunk/cdr/cdr_tds.c

Modified: trunk/cdr/cdr_tds.c
URL: http://svn.digium.com/view/asterisk/trunk/cdr/cdr_tds.c?view=diff&rev=137403&r1=137402&r2=137403
==============================================================================
--- trunk/cdr/cdr_tds.c (original)
+++ trunk/cdr/cdr_tds.c Wed Aug 13 09:22:47 2008
@@ -276,7 +276,7 @@
 	char *buffer;
 
 	va_start(ap, fmt);
-	if (vasprintf(&buffer, fmt, ap) < 0) {
+	if (ast_vasprintf(&buffer, fmt, ap) < 0) {
 		va_end(ap);
 		return 1;
 	}




More information about the asterisk-commits mailing list