[asterisk-commits] mogorman: branch 1.2 r40798 - /branches/1.2/asterisk.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Aug 21 15:34:27 MST 2006


Author: mogorman
Date: Mon Aug 21 17:34:26 2006
New Revision: 40798

URL: http://svn.digium.com/view/asterisk?rev=40798&view=rev
Log:
Move the load_modules call so that if a module needs
realtime support it will work, none do currently but a good
move none the less.

Modified:
    branches/1.2/asterisk.c

Modified: branches/1.2/asterisk.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/asterisk.c?rev=40798&r1=40797&r2=40798&view=diff
==============================================================================
--- branches/1.2/asterisk.c (original)
+++ branches/1.2/asterisk.c Mon Aug 21 17:34:26 2006
@@ -2357,10 +2357,6 @@
 		printf(term_quit());
 		exit(1);
 	}
-	if (load_modules(0)) {
-		printf(term_quit());
-		exit(1);
-	}
 	if (init_framer()) {
 		printf(term_quit());
 		exit(1);
@@ -2370,6 +2366,10 @@
 		exit(1);
 	}
 	if (ast_enum_init()) {
+		printf(term_quit());
+		exit(1);
+	}
+	if (load_modules(0)) {
 		printf(term_quit());
 		exit(1);
 	}



More information about the asterisk-commits mailing list