git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tidying: coverity issues
[exim.git]
/
src
/
src
/
malware.c
diff --git
a/src/src/malware.c
b/src/src/malware.c
index 9dd241b8c84f0d62cf9c9aff7be8992ec3dbb10e..9451392f241695866ebc2d6e80dc6b14e7a81caa 100644
(file)
--- a/
src/src/malware.c
+++ b/
src/src/malware.c
@@
-657,7
+657,6
@@
if (!malware_ok)
"unable to send file body to socket (%s)", scanner_options),
sock);
}
"unable to send file body to socket (%s)", scanner_options),
sock);
}
- (void)close(drweb_fd);
}
else
{
}
else
{
@@
-1304,11
+1303,8
@@
if (!malware_ok)
/* parse options */
/*XXX should these options be common over scanner types? */
if (clamd_option(cd, sublist, &subsep) != OK)
/* parse options */
/*XXX should these options be common over scanner types? */
if (clamd_option(cd, sublist, &subsep) != OK)
- {
return m_errlog_defer(scanent, NULL,
string_sprintf("bad option '%s'", scanner_options));
return m_errlog_defer(scanent, NULL,
string_sprintf("bad option '%s'", scanner_options));
- continue;
- }
cv[num_servers++] = cd;
if (num_servers >= MAX_CLAMD_SERVERS)
cv[num_servers++] = cd;
if (num_servers >= MAX_CLAMD_SERVERS)