[asterisk-commits] anthonyl: branch anthonyl/indication-sf r47264 - in /team/anthonyl/indication...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Nov 7 08:55:18 MST 2006


Author: anthonyl
Date: Tue Nov  7 09:55:18 2006
New Revision: 47264

URL: http://svn.digium.com/view/asterisk?rev=47264&view=rev
Log:
using s.f. set rather then the one that accepts format strings

Modified:
    team/anthonyl/indication-sf/main/indications.c
    team/anthonyl/indication-sf/res/res_indications.c

Modified: team/anthonyl/indication-sf/main/indications.c
URL: http://svn.digium.com/view/asterisk/team/anthonyl/indication-sf/main/indications.c?rev=47264&r1=47263&r2=47264&view=diff
==============================================================================
--- team/anthonyl/indication-sf/main/indications.c (original)
+++ team/anthonyl/indication-sf/main/indications.c Tue Nov  7 09:55:18 2006
@@ -551,8 +551,8 @@
 		ts->next = NULL;
 	}
 
-	ast_string_field_build(ts,data,"%s",indication);
-	ast_string_field_build(ts,data,"%s",tonelist);
+	ast_string_field_set(ts,data,indication);
+	ast_string_field_set(ts,data,tonelist);
 		
 	if (ps)
 		ps->next = ts;

Modified: team/anthonyl/indication-sf/res/res_indications.c
URL: http://svn.digium.com/view/asterisk/team/anthonyl/indication-sf/res/res_indications.c?rev=47264&r1=47263&r2=47264&view=diff
==============================================================================
--- team/anthonyl/indication-sf/res/res_indications.c (original)
+++ team/anthonyl/indication-sf/res/res_indications.c Tue Nov  7 09:55:18 2006
@@ -319,8 +319,8 @@
 				}
 				
 				ts->next = NULL;
-				ast_string_field_build(ts,name,"%s",v->name);
-				ast_string_field_build(ts,data,"%s",v->value);
+				ast_string_field_set(ts,name,v->name);
+				ast_string_field_set(ts,data,v->value);
 				
 								
 				if (ps)



More information about the asterisk-commits mailing list