[Asterisk-cvs] asterisk/channels chan_skinny.c,1.11,1.12

markster at lists.digium.com markster at lists.digium.com
Sat Sep 13 23:02:20 CDT 2003


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv540/channels

Modified Files:
	chan_skinny.c 
Log Message:
Don't die if no skinny config


Index: chan_skinny.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_skinny.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- chan_skinny.c	14 Sep 2003 02:22:11 -0000	1.11
+++ chan_skinny.c	14 Sep 2003 04:03:28 -0000	1.12
@@ -2473,14 +2473,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