Prevent scanning outbound twice

This commit is contained in:
Michiel Broek 2001-12-31 13:29:08 +00:00
parent 81e99a8171
commit 8af5b1c2d1

View File

@ -338,9 +338,6 @@ int sem_set(char *sem, int value)
tasklog('s', "sem_set(%s, %s)", sem, value?"TRUE":"FALSE"); tasklog('s', "sem_set(%s, %s)", sem, value?"TRUE":"FALSE");
if (!strcmp(sem, "scanout")) { if (!strcmp(sem, "scanout")) {
if (value && !s_scanout) {
outstat();
}
s_scanout = value; s_scanout = value;
} else if (!strcmp(sem, "mailout")) { } else if (!strcmp(sem, "mailout")) {
s_mailout = value; s_mailout = value;