X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fdropsbr.c;h=76bc00dbe2852751637c3afc151d30bdcf9daaf6;hb=e87123959d15f3b190494dffdd8bce335c137874;hp=84435a2eb290cb1ed383ee5f13eecb4320f89583;hpb=322f6f0518f2fca892733dea85d87c33fcb65e83;p=mmh diff --git a/uip/dropsbr.c b/uip/dropsbr.c index 84435a2..76bc00d 100644 --- a/uip/dropsbr.c +++ b/uip/dropsbr.c @@ -2,8 +2,6 @@ /* * dropsbr.c -- create/read/manipulate mail drops * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -469,8 +467,9 @@ mbx_size (int md, off_t start, off_t stop) int mbx_close (char *mailbox, int md) { - lkclose (md, mailbox); - return OK; + if (lkclose (md, mailbox) == 0) + return OK; + return NOTOK; }