X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fmhlsbr.c;h=58b297835afe55d678a97c160f25754a27477a57;hb=5dd6771b28c257af405d7248639ed0e3bcdce38b;hp=420dbb63d339a844f9191ba098b93ef577f9c202;hpb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;p=mmh diff --git a/uip/mhlsbr.c b/uip/mhlsbr.c index 420dbb6..58b2978 100644 --- a/uip/mhlsbr.c +++ b/uip/mhlsbr.c @@ -2,8 +2,6 @@ /* * mhlsbr.c -- main routines for nmh message lister * - * $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. @@ -794,8 +792,8 @@ parse (void) static void process (char *folder, char *fname, int ofilen, int ofilec) { - char *cp; - FILE *fp; + char *cp = NULL; + FILE *fp = NULL; struct mcomp *c1; switch (setjmp (env)) { @@ -1544,7 +1542,9 @@ bad_faceproc: ; } memset(&hints, 0, sizeof(hints)); +#ifdef AI_ADDRCONFIG hints.ai_flags = AI_ADDRCONFIG; +#endif hints.ai_family = PF_UNSPEC; hints.ai_socktype = SOCK_DGRAM; @@ -1687,8 +1687,8 @@ doface (struct mcomp *c1) int mhlsbr (int argc, char **argv, FILE *(*action)()) { - SIGNAL_HANDLER istat, pstat, qstat; - char *cp; + SIGNAL_HANDLER istat = NULL, pstat = NULL, qstat = NULL; + char *cp = NULL; struct mcomp *c1; switch (setjmp (mhlenv)) {