[asterisk-commits] rizzo: trunk r48497 -
/trunk/channels/chan_features.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Dec 15 08:39:29 MST 2006
Author: rizzo
Date: Fri Dec 15 09:39:29 2006
New Revision: 48497
URL: http://svn.digium.com/view/asterisk?view=rev&rev=48497
Log:
replace ast_safe_string_alloc() with asprintf()
Modified:
trunk/channels/chan_features.c
Modified: trunk/channels/chan_features.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_features.c?view=diff&rev=48497&r1=48496&r2=48497
==============================================================================
--- trunk/channels/chan_features.c (original)
+++ trunk/channels/chan_features.c Fri Dec 15 09:39:29 2006
@@ -462,7 +462,7 @@
for (x=1;x<4;x++) {
if (b2)
free(b2);
- b2 = ast_safe_string_alloc("Feature/%s/%s-%d", p->tech, p->dest, x);
+ asprintf(&b2, "Feature/%s/%s-%d", p->tech, p->dest, x);
for (y=0;y<3;y++) {
if (y == index)
continue;
More information about the asterisk-commits
mailing list