Malware: Fix potential spin-on-read-error with kavdaemon
[exim.git] / src / src / malware.c
index 4f4a41952ece8efc51f70df81e80aeb65c821b57..9dd241b8c84f0d62cf9c9aff7be8992ec3dbb10e 100644 (file)
@@ -918,7 +918,8 @@ if (!malware_ok)
       uschar tmpbuf[1024];
       uschar * scanrequest;
       int kav_rc;
-      unsigned long kav_reportlen, bread;
+      unsigned long kav_reportlen;
+      int bread;
       const pcre *kav_re;
       uschar *p;