/*
* 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.
#include <h/dropsbr.h>
#include <h/mts.h>
#include <h/tws.h>
-
-#ifdef HAVE_ERRNO_H
-# include <errno.h>
-#endif
+#include <errno.h>
#ifdef NTOHLSWAP
# include <netinet/in.h>
int
mbx_close (char *mailbox, int md)
{
- lkclose (md, mailbox);
- return OK;
+ if (lkclose (md, mailbox) == 0)
+ return OK;
+ return NOTOK;
}