Fix warning emission if SeqMsgId set to MayBe

This commit is contained in:
Alexander S. Aganichev 2003-04-07 10:15:59 +00:00
parent e9117d3e20
commit 480bfbae78

View File

@ -44,7 +44,7 @@ ulong getMsgId() {
ulong id;
char *err;
if(CFG->seqmsgid and not ((CFG->seqmsgid == MAYBE) and (*CFG->seqdir == NUL))) {
if((CFG->seqmsgid == YES) or ((CFG->seqmsgid == MAYBE) and (*CFG->seqdir != NUL))) {
id = GenMsgIdEx(CFG->seqdir, CFG->seqoutrun, getClassicMsgId, &err);
if(err) {
LOG.printf("* Warning, SeqMsgId failed: %s, fall to classic algorythm!", err);