c604c5bde7
clamav 0.101 support is supposed to be there but still seems to be broken and needs a one-line fix now. So that patch can't quite go away yet.
14 lines
403 B
Plaintext
14 lines
403 B
Plaintext
diff --git a/imap/cyr_virusscan.c b/imap/cyr_virusscan.c
|
|
index 8f57885..26a2773 100644
|
|
--- a/imap/cyr_virusscan.c
|
|
+++ b/imap/cyr_virusscan.c
|
|
@@ -193,7 +193,7 @@ int clamav_scanfile(void *state, const char *fname,
|
|
int r;
|
|
|
|
/* scan file */
|
|
-#if LIBCLAMAV_MAJORVER < 9
|
|
+#ifdef CL_SCAN_ARCHIVE
|
|
r = cl_scanfile(fname, virname, NULL, st->av_engine,
|
|
CL_SCAN_STDOPT);
|
|
#else
|