X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/63f0dbe0ca0aba7be3bc8807f45c8703a1cfafe1..755762fd4c420cabbcba4a9c79947e926fa82219:/src/src/malware.c diff --git a/src/src/malware.c b/src/src/malware.c index 141c6ea16..96af1e8c6 100644 --- a/src/src/malware.c +++ b/src/src/malware.c @@ -886,7 +886,7 @@ if (!malware_ok) string_sprintf("unable to read result (%s)", strerror(errno)), sock); - for (p[bread] = '\0'; q = Ustrchr(p, '\n'); p = q+1) + for (p[bread] = '\0'; (q = Ustrchr(p, '\n')); p = q+1) { *q = '\0'; @@ -1880,6 +1880,9 @@ if (!malware_ok) /* here for any unexpected response from the scanner */ goto endloop; + + case AVA_DONE: log_write(0, LOG_PANIC, "%s:%d:%s: should not happen", + __FILE__, __LINE__, __FUNCTION__); } } }