[asterisk-commits] trunk r32545 - /trunk/channels/chan_zap.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jun 6 07:25:00 MST 2006


Author: russell
Date: Tue Jun  6 09:24:59 2006
New Revision: 32545

URL: http://svn.digium.com/view/asterisk?rev=32545&view=rev
Log:
don't return -1 if zapata.conf is not present (part of the patch from
issue #7290, tzafrir)

Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?rev=32545&r1=32544&r2=32545&view=diff
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Tue Jun  6 09:24:59 2006
@@ -10250,7 +10250,7 @@
 	/* We *must* have a config file otherwise stop immediately */
 	if (!cfg) {
 		ast_log(LOG_ERROR, "Unable to load config %s\n", config);
-		return -1;
+		return 0;
 	}
 	
 



More information about the asterisk-commits mailing list