X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmsh.c;h=b3aa3a107aec077ce57472d8c129851b197ccdca;hb=706236baa4c4670b5a074092dec5dec63ff50663;hp=7b5575eded2730f730ddd0fbf184e6a0a4de2ab3;hpb=f311d0371d3585ad4f97a69de9669dd49197686a;p=mmh diff --git a/uip/msh.c b/uip/msh.c index 7b5575e..b3aa3a1 100644 --- a/uip/msh.c +++ b/uip/msh.c @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include #include @@ -235,10 +235,10 @@ main (int argc, char **argv) case HELPSW: snprintf (buf, sizeof(buf), "%s [switches] file", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case IDSW: if (!(cp = *argp++) || *cp == '-') @@ -801,10 +801,10 @@ m_gMsgs (int n) FILE * msh_ready (int msgnum, int full) { - NMH_UNUSED (full); register int msgp; int fd; char *cp; + NMH_UNUSED (full); if (yp) { fclose (yp); @@ -1915,7 +1915,7 @@ pFIN (void) { int status; - switch (m_setjmp (peerenv)) { + switch (setjmp (peerenv)) { case OK: SIGNAL (SIGALRM, alrmser); alarm (ALARM);