[asterisk-commits] twilson: branch 1.6.1 r213449 - /branches/1.6.1/main/loader.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 20 22:40:12 CDT 2009
Author: twilson
Date: Thu Aug 20 22:40:07 2009
New Revision: 213449
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=213449
Log:
Make LOAD_ORDER actually work
Modified:
branches/1.6.1/main/loader.c
Modified: branches/1.6.1/main/loader.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.1/main/loader.c?view=diff&rev=213449&r1=213448&r2=213449
==============================================================================
--- branches/1.6.1/main/loader.c (original)
+++ branches/1.6.1/main/loader.c Thu Aug 20 22:40:07 2009
@@ -856,7 +856,7 @@
int res = -1;
/* if load_pri is not set, default is 255. Lower is better*/
unsigned char a_pri = ast_test_flag(a_mod->info, AST_MODFLAG_LOAD_ORDER) ? a_mod->info->load_pri : 255;
- unsigned char b_pri = ast_test_flag(a_mod->info, AST_MODFLAG_LOAD_ORDER) ? b_mod->info->load_pri : 255;
+ unsigned char b_pri = ast_test_flag(b_mod->info, AST_MODFLAG_LOAD_ORDER) ? b_mod->info->load_pri : 255;
if (a_pri == b_pri) {
res = 0;
} else if (a_pri < b_pri) {
More information about the asterisk-commits
mailing list