X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8beec5a149ff31d48971f869d99c7c99926ca790..1e03ea3338cc5ccd9ddf4feaaacfeda1998689cc:/uip/dropsbr.c diff --git a/uip/dropsbr.c b/uip/dropsbr.c index 8f841a1e..733e6e6e 100644 --- a/uip/dropsbr.c +++ b/uip/dropsbr.c @@ -5,23 +5,16 @@ * complete copyright information. */ -#include -#include - -#include -#include -#include -#include -#include "../sbr/lock_file.h" -#include "../sbr/m_mktemp.h" - -#ifdef NTOHLSWAP -# include -#else -# undef ntohl -# define ntohl(n) (n) -#endif - +#include "h/nmh.h" +#include "h/mh.h" +#include "sbr/strindex.h" +#include "sbr/error.h" +#include "h/utils.h" +#include "h/dropsbr.h" +#include "h/mts.h" +#include "h/tws.h" +#include "sbr/lock_file.h" +#include "sbr/m_mktemp.h" #include /* @@ -196,7 +189,7 @@ mbx_copy (char *mailbox, int mbx_style, int md, int fd, if (write (md, MMDF_DELIM, j) != j) return NOTOK; - return (i != NOTOK ? OK : NOTOK); + return i == NOTOK ? NOTOK : OK; case MBOX_FORMAT: if ((j = dup (fd)) == NOTOK)