X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fshow.c;h=a59e10c35f0ae08b3151d08ea5c8e156b172d69a;hp=2db32d7ee867902e57d8c69c0fc8e672c575bd44;hb=5dd6771b28c257af405d7248639ed0e3bcdce38b;hpb=0569d6d1631dc90d4f2f2df6bdd0599c7ecc7814 diff --git a/uip/show.c b/uip/show.c index 2db32d7..a59e10c 100644 --- a/uip/show.c +++ b/uip/show.c @@ -2,8 +2,6 @@ /* * 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. @@ -71,7 +69,7 @@ main (int argc, char **argv) char *cp, *maildir, *file = NULL, *folder = NULL, *proc; char buf[BUFSIZ], **argp, **arguments; char *msgs[MAXARGS], *vec[MAXARGS]; - struct msgs *mp; + struct msgs *mp = NULL; #ifdef LOCALE setlocale(LC_ALL, ""); @@ -385,7 +383,8 @@ static int is_nontext (char *msgnam) { int result, state; - char *bp, *cp, *dp; + unsigned char *bp, *dp; + char *cp; char buf[BUFSIZ], name[NAMESZ]; FILE *fp;