aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-06 14:24:59 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-06 14:24:59 +0000
commit25c3f93be86a7758ce8cfbff03b50eb45684e69c (patch)
treed316fe7819d3649e4167ef0588c764b14451b0d1 /channels
parent169754edd213a86e474125432efd89ce632478d5 (diff)
don't return -1 if zapata.conf is not present (part of the patch from
issue #7290, tzafrir) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32545 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index da6132af4..d071ab673 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;
}