From 61da15931508341839664aebabe7167dec351c16 Mon Sep 17 00:00:00 2001 From: Nigel Metheringham Date: Sat, 7 Nov 2009 17:17:15 +0000 Subject: [PATCH] Fix close buglet in mime handling. Fixes: #39 --- src/src/mime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/src/mime.c b/src/src/mime.c index ca560d447..cc8a337ae 100644 --- a/src/src/mime.c +++ b/src/src/mime.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/mime.c,v 1.16 2009/11/06 13:29:47 nm4 Exp $ */ +/* $Cambridge: 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 @@ int mime_decode(uschar **listptr) { 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 */ -- 2.25.1