[asterisk-commits] tilghman: trunk r89632 - in /trunk: ./ funcs/func_env.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 27 09:41:47 CST 2007


Author: tilghman
Date: Tue Nov 27 09:41:46 2007
New Revision: 89632

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89632
Log:
Merged revisions 89631 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89631 | tilghman | 2007-11-27 09:38:03 -0600 (Tue, 27 Nov 2007) | 3 lines

Default result of STAT should be "0" not "".
Reported via the -users mailing list, fixed by me.

........

Modified:
    trunk/   (props changed)
    trunk/funcs/func_env.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/funcs/func_env.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_env.c?view=diff&rev=89632&r1=89631&r2=89632
==============================================================================
--- trunk/funcs/func_env.c (original)
+++ trunk/funcs/func_env.c Tue Nov 27 09:41:46 2007
@@ -69,7 +69,7 @@
 	char *action;
 	struct stat s;
 
-	*buf = '\0';
+	ast_copy_string(buf, "0", len);
 
 	action = strsep(&data, ",");
 	if (stat(data, &s)) {




More information about the asterisk-commits mailing list