nm4 2009/11/07 17:17:17 GMT
Modified files:
exim-src/src mime.c
Log:
Fix close buglet in mime handling. Fixes: #39
Revision Changes Path
1.17 +1 -1 exim/exim-src/src/mime.c
Index: mime.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/mime.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- mime.c 6 Nov 2009 13:29:47 -0000 1.16
+++ mime.c 7 Nov 2009 17:17:15 -0000 1.17
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/mime.c,v 1.16 2009/11/06 13:29:47 nm4 Exp $ */
+/* $Cambridge: exim/exim-src/src/mime.c,v 1.17 2009/11/07 17:17:15 nm4 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -341,7 +341,7 @@
clearerr(mime_stream);
fseek(mime_stream, f_pos, SEEK_SET);
- if (size_counter < 0 || fclose(decode_file) != 0)
+ if (fclose(decode_file) != 0 || size_counter < 0)
return DEFER;
/* round up to the next KiB */