X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fslocal.c;h=1396cc29e850b285bc3098fbe7b73776c774337f;hp=817a4114d0aa16c67f19bf49194e77fb250ee0f1;hb=38615191e71744b066425e0c44412b62dbe49cc2;hpb=d2f12554a254e814dcdafb3828fc0d9936154eef diff --git a/uip/slocal.c b/uip/slocal.c index 817a411..1396cc2 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -412,7 +412,8 @@ main (int argc, char **argv) /* deliver the message */ status = localmail (fd, mdlvr); - return done (status != -1 ? RCV_MOK : RCV_MBX); + done (status != -1 ? RCV_MOK : RCV_MBX); + return 1; } @@ -683,7 +684,7 @@ static int split (char *cp, char **vec) { int i; - char *s; + unsigned char *s; s = cp; @@ -1232,8 +1233,8 @@ static void get_sender (char *envelope, char **sender) { int i; - char *cp; - char buffer[BUFSIZ]; + unsigned char *cp; + unsigned char buffer[BUFSIZ]; if (envelope == NULL) { *sender = getcpy (""); @@ -1412,7 +1413,7 @@ static char * trim (char *cp) { char buffer[BUFSIZ*4]; - char *bp, *sp; + unsigned char *bp, *sp; if (cp == NULL) return NULL;