X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/96a2a03a1473522669e8848959c3aa380cf3d4eb..dd6bfc058da415e30995eeea116c65861671e2aa:/uip/dropsbr.c diff --git a/uip/dropsbr.c b/uip/dropsbr.c index 77322d4d..2d19f219 100644 --- a/uip/dropsbr.c +++ b/uip/dropsbr.c @@ -5,12 +5,13 @@ * complete copyright information. */ -#include -#include -#include -#include -#include -#include +#include "h/nmh.h" +#include "h/mh.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 @@ -187,7 +188,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)