X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/09bfd7778fd068574b95d539c7a4031b07ea5925..ec173fd2c:/uip/slocal.c?ds=sidebyside diff --git a/uip/slocal.c b/uip/slocal.c index 1666c1f6..5eb5243c 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -20,6 +20,12 @@ */ #include "h/mh.h" +#include "sbr/dtime.h" +#include "sbr/m_gmprot.h" +#include "sbr/m_getfld.h" +#include "sbr/getarguments.h" +#include "sbr/smatch.h" +#include "sbr/strindex.h" #include "sbr/closefds.h" #include "sbr/trimcpy.h" #include "sbr/getcpy.h" @@ -29,7 +35,6 @@ #include "sbr/print_help.h" #include "sbr/error.h" #include "h/dropsbr.h" -#include "h/rcvmail.h" #include "h/signals.h" #include #include "h/tws.h" @@ -387,7 +392,7 @@ main (int argc, char **argv) /* deliver the message */ status = localmail (fd, mdlvr); - done (status != -1 ? RCV_MOK : RCV_MBX); + done(status != -1 ? 0 : 1); return 1; }