Fixed fuzzy sorting, net/echomail.bss updating, compiling on gcc 3.x

This commit is contained in:
Alexander S. Aganichev
2002-05-03 15:24:02 +00:00
parent decc89a5db
commit 72b46c9bef
4 changed files with 22 additions and 11 deletions

View File

@@ -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;

View File

@@ -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));
}
}