[svn-commits] tilghman: branch 1.4 r89631 - /branches/1.4/funcs/func_env.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Nov 27 09:38:04 CST 2007
Author: tilghman
Date: Tue Nov 27 09:38:03 2007
New Revision: 89631
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89631
Log:
Default result of STAT should be "0" not "".
Reported via the -users mailing list, fixed by me.
Modified:
branches/1.4/funcs/func_env.c
Modified: branches/1.4/funcs/func_env.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/funcs/func_env.c?view=diff&rev=89631&r1=89630&r2=89631
==============================================================================
--- branches/1.4/funcs/func_env.c (original)
+++ branches/1.4/funcs/func_env.c Tue Nov 27 09:38:03 2007
@@ -73,7 +73,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 svn-commits
mailing list