Err... should close the mbox
authorJoey Schulze <joey@infodrom.org>
Mon, 22 Nov 2004 18:18:34 +0000 (18:18 +0000)
committerJoey Schulze <joey@infodrom.org>
Mon, 22 Nov 2004 18:18:34 +0000 (18:18 +0000)
mbox.c

diff --git a/mbox.c b/mbox.c
index 0e895ef..0e69ecd 100644 (file)
--- a/mbox.c
+++ b/mbox.c
@@ -206,6 +206,8 @@ int inspect_mbox(char *path, char *prefix, off_t size, int opt_flags)
     }
   }
 
+  fclose(f);
+
   return newmail;
 }