]> diplodocus.org Git - nmh/blobdiff - uip/rcvstore.c
Use result, because (void) didn't prevent warning on FreeBSD 10.
[nmh] / uip / rcvstore.c
index a7d3a9e920574ef6482bf7e552d6e8c5b0cc7c6d..25bb8780dd6eb66ae96f7ee0fc39ad6f27966bdc 100644 (file)
@@ -54,7 +54,7 @@ main (int argc, char **argv)
     struct msgs *mp;
     struct stat st;
 
     struct msgs *mp;
     struct stat st;
 
-    if (nmh_init(argv[0], 1)) { return 1; }
+    if (nmh_init(argv[0], 2)) { return 1; }
 
     done=unlink_done;
 
 
     done=unlink_done;
 
@@ -189,7 +189,7 @@ main (int argc, char **argv)
      * Link message into folder, and possibly add
      * to the Unseen-Sequence's.
      */
      * Link message into folder, and possibly add
      * to the Unseen-Sequence's.
      */
-    if ((msgnum = folder_addmsg (&mp, tmpfilenam, 0, unseensw, 0, 0, (char *)0)) == -1)
+    if ((msgnum = folder_addmsg (&mp, tmpfilenam, 0, unseensw, 0, 0, NULL)) == -1)
        done (1);
 
     /*
        done (1);
 
     /*