X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fdropsbr.c;h=11ceba808db8947e0f8d271c1a4fd5a66c0007f9;hb=03fe41ba1d68108808c966c6d7ff74bd8c1d648c;hp=3bd5c9beeefc905c2430f1e0efd45a6bdd269592;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b;p=mmh diff --git a/uip/dropsbr.c b/uip/dropsbr.c index 3bd5c9b..11ceba8 100644 --- a/uip/dropsbr.c +++ b/uip/dropsbr.c @@ -14,10 +14,7 @@ #include #include #include - -#ifdef HAVE_ERRNO_H -# include -#endif +#include #ifdef NTOHLSWAP # include @@ -467,8 +464,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; }