diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-06-06 14:24:59 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-06-06 14:24:59 +0000 |
commit | fa595a8d823b9eeb4e19cc36c2ce9e11ebfae1ce (patch) | |
tree | d316fe7819d3649e4167ef0588c764b14451b0d1 /channels | |
parent | 24818d53b1c7f88bc877526e8765cd8a3991a275 (diff) |
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
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_zap.c | 2 |
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; } |