[svn-commits] mjordan: branch mjordan/trunk-deadlock r376615 - /team/mjordan/trunk-deadlock...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Nov 22 19:41:15 CST 2012


Author: mjordan
Date: Thu Nov 22 19:41:11 2012
New Revision: 376615

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=376615
Log:
Create listening socket later.

Modified:
    team/mjordan/trunk-deadlock/main/asterisk.c

Modified: team/mjordan/trunk-deadlock/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/mjordan/trunk-deadlock/main/asterisk.c?view=diff&rev=376615&r1=376614&r2=376615
==============================================================================
--- team/mjordan/trunk-deadlock/main/asterisk.c (original)
+++ team/mjordan/trunk-deadlock/main/asterisk.c Thu Nov 22 19:41:11 2012
@@ -4084,7 +4084,6 @@
 
 	ast_aoc_cli_init();
 
-	ast_makesocket();
 	sigemptyset(&sigs);
 	sigaddset(&sigs, SIGHUP);
 	sigaddset(&sigs, SIGTERM);
@@ -4236,6 +4235,8 @@
 		printf("%s", term_quit());
 		exit(1);
 	}
+	
+	ast_makesocket();
 
 	if ((moduleresult = load_modules(0))) {		/* Load modules */
 		printf("%s", term_quit());




More information about the svn-commits mailing list