Skip to content
Snippets Groups Projects
Commit a220a0ba authored by rswindell's avatar rswindell
Browse files

No longer reports index/header value mismatches for indices of duplicate

header records (index with the same message number points to a different
message header).
parent 41b96a5f
No related branches found
No related tags found
No related merge requests found
......@@ -327,7 +327,7 @@ int main(int argc, char **argv)
}
if(msg.from_net.type == NET_NONE && msg.id == NULL) {
fprintf(stderr,"%sNo Message ID\n",beep);
fprintf(stderr,"%sNo Message-ID\n",beep);
msgerr=TRUE;
if(extinfo)
printf("MSGERR: Header missing Message-ID\n");
......@@ -415,7 +415,7 @@ int main(int argc, char **argv)
,msg.hdr.number,smb.status.last_msg);
hdrnumerr++;
}
if(smb_getmsgidx(&smb,&msg)) {
if(smb_getmsgidx(&smb,&msg) || msg.idx.offset != l) {
fprintf(stderr,"%sNot found in index\n",beep);
msgerr=TRUE;
if(extinfo)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment