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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 31 14:33:21 CST 2007


Author: tilghman
Date: Mon Dec 31 14:33:21 2007
New Revision: 95490

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

........
r95470 | tilghman | 2007-12-31 14:27:26 -0600 (Mon, 31 Dec 2007) | 3 lines

Allow the default "0" to be returned if the STAT fails
(Closes issue #11659)

........

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=95490&r1=95489&r2=95490
==============================================================================
--- trunk/funcs/func_env.c (original)
+++ trunk/funcs/func_env.c Mon Dec 31 14:33:21 2007
@@ -73,7 +73,7 @@
 
 	action = strsep(&data, ",");
 	if (stat(data, &s)) {
-		return -1;
+		return 0;
 	} else {
 		switch (*action) {
 		case 'e':




More information about the asterisk-commits mailing list