Fixed fuzzy sorting, net/echomail.bss updating, compiling on gcc 3.x
This commit is contained in:
@@ -145,7 +145,7 @@ extern "C" int AreaListCmp(const Area** __a, const Area** __b) {
|
||||
register bool amay = striinc(area_maybe, A->echoid()) ? true : false;
|
||||
register bool bmay = striinc(area_maybe, B->echoid()) ? true : false;
|
||||
|
||||
if((cmp = compare_two(amay, bmay)) != 0)
|
||||
if((cmp = compare_two(bmay, amay)) != 0)
|
||||
return cmp;
|
||||
}
|
||||
break;
|
||||
|
@@ -604,7 +604,7 @@ int ExternUtil(GMsg *msg, int utilno) {
|
||||
for(int utlno=0; extutil != CFG->externutil.end(); utlno++, extutil++) {
|
||||
|
||||
if(extutil->utilno == utilno) {
|
||||
return ExternUtil(msg, extutil);
|
||||
return ExternUtil(msg, &(*extutil));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user