X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fslocal.c;h=e6880fe04420ebe42cb571063e4726f58dc721db;hp=37173f65b29b32c03f72d8d6564481c0143da253;hb=119362982fae61ae7aaa899eaf2544e4f4a84283;hpb=56a34bc502bde807ab722ee5f20d4db2901a5b23 diff --git a/uip/slocal.c b/uip/slocal.c index 37173f6..e6880fe 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -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");