projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78ef0d0
)
Don't die if no config file
author
Mark Spencer
<markster@digium.com>
Fri, 12 Sep 2003 03:21:14 +0000
(
03:21
+0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 12 Sep 2003 03:21:14 +0000
(
03:21
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1498
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_skinny.c
patch
|
blob
|
history
diff --git
a/channels/chan_skinny.c
b/channels/chan_skinny.c
index
e7bab9f
..
1d59a59
100755
(executable)
--- a/
channels/chan_skinny.c
+++ b/
channels/chan_skinny.c
@@
-2386,14
+2386,14
@@
static int reload_config()
if (gethostname(ourhost, sizeof(ourhost))) {
ast_log(LOG_WARNING, "Unable to get hostname, Skinny disabled\n");
- return 1;
+ return 0;
}
cfg = ast_load(config);
/* We *must* have a config file otherwise stop immediately */
if (!cfg) {
ast_log(LOG_NOTICE, "Unable to load config %s, Skinny disabled\n", config);
- return 1;
+ return 0;
}
/* load the general section */