]> granicus.if.org Git - neomutt/commitdiff
safe_fclose() doesn't like FILE pointers.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 23 Feb 2000 08:17:18 +0000 (08:17 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 23 Feb 2000 08:17:18 +0000 (08:17 +0000)
mx.c

diff --git a/mx.c b/mx.c
index 309ea5011d46a5f1616b1bcdd25d98bb3c51ce72..9e412f109aeac8b4ed29732bc5a4994bd1cc9b31 100644 (file)
--- a/mx.c
+++ b/mx.c
@@ -698,7 +698,7 @@ void mx_fastclose_mailbox (CONTEXT *ctx)
   safe_free ((void **) &ctx->pattern);
   if (ctx->limit_pattern) 
     mutt_pattern_free (&ctx->limit_pattern);
-  safe_fclose (ctx->fp);
+  safe_fclose (&ctx->fp);
   memset (ctx, 0, sizeof (CONTEXT));
 }