]> git.marmaro.de Git - mmh/blobdiff - uip/slocal.c
All of the arguments to AC_ARG_ENABLE need to be quoted, otherwise the
[mmh] / uip / slocal.c
index 37173f65b29b32c03f72d8d6564481c0143da253..e6880fe04420ebe42cb571063e4726f58dc721db 100644 (file)
@@ -1065,7 +1065,11 @@ usr_file (int fd, char *mailbox, int mbx_style)
     }
 
     /* close and unlock file */
-    mbx_close (mailbox, md);
+    if (mbx_close (mailbox, md) == NOTOK) {
+        if (verbose)
+           adorn ("", "error closing:");
+        return -1;
+    }
 
     if (verbose)
        verbose_printf (", success.\n");