[asterisk-commits] tilghman: trunk r236183 - /trunk/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Dec 22 20:52:32 CST 2009


Author: tilghman
Date: Tue Dec 22 20:52:30 2009
New Revision: 236183

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=236183
Log:
Actually use tmp for something (brings trunk back into sync with 1.6 branches).

Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=236183&r1=236182&r2=236183
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Tue Dec 22 20:52:30 2009
@@ -5259,7 +5259,8 @@
 		return -1;
 	}
 
-	ext = ast_strdupa(ext);
+	ast_str_set(&tmp, 0, "%s", ext);
+	ext = ast_str_buffer(tmp);
 	if ((context = strchr(ext, '@'))) {
 		*context++ = '\0';
 		tmpptr = strchr(context, '&');




More information about the asterisk-commits mailing list