From fa595a8d823b9eeb4e19cc36c2ce9e11ebfae1ce Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 6 Jun 2006 14:24:59 +0000 Subject: [PATCH] don't return -1 if zapata.conf is not present (part of the patch from issue #7290, tzafrir) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32545 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_zap.c b/channels/chan_zap.c index da6132af41..d071ab673f 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -10250,7 +10250,7 @@ static int setup_zap(int reload) /* 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; }