git://git.exim.org
/
users
/
jgh
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebcf27a
)
Fix build with DRWEB malware scanner
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 11 Jan 2020 23:07:53 +0000
(23:07 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 12 Jan 2020 00:02:15 +0000
(
00:02
+0000)
Broken-by: 9e21ce8fc4
src/src/malware.c
patch
|
blob
|
history
diff --git
a/src/src/malware.c
b/src/src/malware.c
index ec2f7c1cfc7681eac5e9a1d34acbb15895bde805..cfff9ee5d7b50083ba8eebfa1e4122f166277dff 100644
(file)
--- a/
src/src/malware.c
+++ b/
src/src/malware.c
@@
-791,7
+791,7
@@
if (!malware_ok)
if (*scanner_options != '/')
{
/* calc file size */
- if ((drweb_fd = exim_open(CCS eml_filename, O_RDONLY)) == -1)
+ if ((drweb_fd = exim_open
2
(CCS eml_filename, O_RDONLY)) == -1)
return m_panic_defer_3(scanent, NULL,
string_sprintf("can't open spool file %s: %s",
eml_filename, strerror(errno)),