[Asterisk-cvs] asterisk/channels chan_skinny.c,1.1,1.2
markster at lists.digium.com
markster at lists.digium.com
Thu Sep 11 22:20:05 CDT 2003
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv30284/channels
Modified Files:
chan_skinny.c
Log Message:
Don't die if no config file
Index: chan_skinny.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_skinny.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- chan_skinny.c 11 Sep 2003 19:44:13 -0000 1.1
+++ chan_skinny.c 12 Sep 2003 03:21:14 -0000 1.2
@@ -2386,14 +2386,14 @@
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 */
More information about the svn-commits
mailing list