[asterisk-commits] file: branch 1.4 r53086 - /branches/1.4/funcs/func_strings.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Feb 1 14:06:03 MST 2007


Author: file
Date: Thu Feb  1 15:06:02 2007
New Revision: 53086

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53086
Log:
Make func_strings build under dev mode. Didn't I do this today already in the berkeley DB?

Modified:
    branches/1.4/funcs/func_strings.c

Modified: branches/1.4/funcs/func_strings.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/funcs/func_strings.c?view=diff&rev=53086&r1=53085&r2=53086
==============================================================================
--- branches/1.4/funcs/func_strings.c (original)
+++ branches/1.4/funcs/func_strings.c Thu Feb  1 15:06:02 2007
@@ -46,7 +46,7 @@
 static int function_fieldqty(struct ast_channel *chan, char *cmd,
 			     char *parse, char *buf, size_t len)
 {
-	char *varname, *varsubst, varval[8192] = "", *varval2 = varval;
+	char *varname = NULL, *varsubst, varval[8192] = "", *varval2 = varval;
 	int fieldcount = 0;
 	AST_DECLARE_APP_ARGS(args,
 			     AST_APP_ARG(varname);



More information about the asterisk-commits mailing list