From: Matt O'Gorman Date: Mon, 21 Aug 2006 22:34:26 +0000 (+0000) Subject: Move the load_modules call so that if a module needs X-Git-Tag: 1.2.11~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4514a22df3c35a24f9aee2617ffc56f65c6c1c11;p=thirdparty%2Fasterisk.git 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. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40798 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/asterisk.c b/asterisk.c index 1c5218685b..27ed6a67ed 100644 --- a/asterisk.c +++ b/asterisk.c @@ -2357,10 +2357,6 @@ int main(int argc, char *argv[]) printf(term_quit()); exit(1); } - if (load_modules(0)) { - printf(term_quit()); - exit(1); - } if (init_framer()) { printf(term_quit()); exit(1); @@ -2373,6 +2369,10 @@ int main(int argc, char *argv[]) printf(term_quit()); exit(1); } + if (load_modules(0)) { + printf(term_quit()); + exit(1); + } dnsmgr_start_refresh();