Fix GCC build

This commit is contained in:
Stas Degteff 2005-11-15 17:55:01 +00:00
parent 0c20e3a9cc
commit dc3b5a05ae

View File

@ -210,7 +210,12 @@ void GMsgList::ReadMlst(int n) {
strcpy(ml->re, msg.re);
ml->colorby = GetColorName(ml->by, msg.orig, -1);
ml->colorto = GetColorName(ml->to, AA->isnet() ? msg.dest : Addr(), -1);
if(AA->isnet())
ml->colorto = GetColorName(ml->to, msg.dest, -1);
else
{ Addr a;
ml->colorto = GetColorName(ml->to, a, -1);
}
}