summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-05-11 20:27:04 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-05-11 21:18:39 +0100
commit2381c830c6f89e3abc2dc153d483251a4403e71f (patch)
treebd0229110f3592c9f972b3dad29df3bb8ab63166 /src
parente3dd1d67d7e5bfd0b123d6cb84e00a570415bdea (diff)
More testcase serialization
Diffstat (limited to 'src')
-rw-r--r--src/src/malware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/malware.c b/src/src/malware.c
index 8260a4815..cae0cdd99 100644
--- a/src/src/malware.c
+++ b/src/src/malware.c
@@ -946,7 +946,7 @@ malware_internal(uschar **listptr, uschar *eml_filename, BOOL faking)
signal(SIGCHLD,eximsigchld); signal(SIGPIPE,eximsigpipe);
if (sep != 0)
return m_errlog_defer(scanent,
- sep = -1
+ sep == -1
? string_sprintf("running scanner failed: %s", strerror(sep))
: string_sprintf("scanner returned error code: %d", sep));