[asterisk-commits] twilson: trunk r213450 - /trunk/main/loader.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 20 22:48:57 CDT 2009
Author: twilson
Date: Thu Aug 20 22:48:54 2009
New Revision: 213450
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=213450
Log:
Make LOAD_ORDER actually work
Modified:
trunk/main/loader.c
Modified: trunk/main/loader.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/loader.c?view=diff&rev=213450&r1=213449&r2=213450
==============================================================================
--- trunk/main/loader.c (original)
+++ trunk/main/loader.c Thu Aug 20 22:48:54 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