detect excess messages after sync
This commit is contained in:
parent
924e1a7f04
commit
d3faf0d27f
|
@ -268,6 +268,11 @@ sub ckbox($$$@)
|
|||
print STDERR "flag mismatch for $bn:$num - expected '$flg', got '$ms{$num}[1]', config: $cfg\n";
|
||||
exit 1;
|
||||
}
|
||||
delete $ms{$num};
|
||||
}
|
||||
if (%ms) {
|
||||
print STDERR "excess messages in '$bn': ".join(", ", sort({$a <=> $b } keys(%ms))).", config: $cfg\n";
|
||||
exit 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user