Prevent scanning outbound twice
This commit is contained in:
parent
81e99a8171
commit
8af5b1c2d1
@ -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;
|
||||||
|
Reference in New Issue
Block a user