]> diplodocus.org Git - nmh/blobdiff - uip/dropsbr.c
picksbr.c: fprintf(3) function pointer using `%p' and union.
[nmh] / uip / dropsbr.c
index 77322d4..cc44c8d 100644 (file)
@@ -187,7 +187,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)