X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fshow.c;h=b068d4952be836ec1f98423b4453b43bd9f96bc9;hp=75e4827fc3e30924c0897944b61e1532fd640bef;hb=389877bae1fe1a9f7259b8979f6a930744d90fab;hpb=9361ec85a7f8cc7c12dd90ed549392c815d0d7de diff --git a/uip/show.c b/uip/show.c index 75e4827..b068d49 100644 --- a/uip/show.c +++ b/uip/show.c @@ -3,10 +3,15 @@ * show.c -- show/list messages * * $Id$ + * + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include #include +#include static struct swit switches[] = { #define CHECKMIMESW 0 @@ -49,6 +54,9 @@ static struct swit switches[] = { */ static int is_nontext(char *); +/* prototype from mhlsbr.c */ +int mhl (int, char **); + #define SHOW 0 #define NEXT 1 #define PREV 2 @@ -353,6 +361,7 @@ go_to_it: ; vec[0] = r1bindex (proc, '/'); execvp (proc, vec); adios (proc, "unable to exec"); + return 0; /* dead code to satisfy the compiler */ } /* @@ -466,7 +475,7 @@ invalid: *bp = '\0'; } else { for (bp = dp; *bp; bp++) - if (isspace (*bp)) { + if (!istoken (*bp)) { *bp = '\0'; break; }