summaryrefslogtreecommitdiff
blob: 5131cf911375d6d3467a8c727e4f4870ecaf2b5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -ur klamav-0.44/src/klammail/clamdmail.c klamav-0.44-clamav094/src/klammail/clamdmail.c
--- klamav-0.44/src/klammail/clamdmail.c        2008-07-06 14:05:39.000000000 +0200
+++ klamav-0.44-clamav094/src/klammail/clamdmail.c      2008-09-06 13:51:46.000000000 +0200
@@ -160,7 +160,8 @@
                 if(fsync(fd) == -1) {
 //                         cli_dbgmsg("fsync() failed for descriptor %d\n", fd);
                         close(fd);
-                        return CL_EFSYNC;
+//                        return CL_EFSYNC;
+                       return CL_EIO;
                 }
 
                 close(fd);