X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhmail.c;h=6506b7d2a5c97e1818e622b91b564909dcbc694a;hp=ef1a050b47c2a8e6ae984d5e8f336889395dbc6b;hb=32b2354dbaf4bf934936eb5b102a4a3d2fdd209a;hpb=9bc048fdbfba0a5330b5b447e4f4c8c8b11ee7be diff --git a/uip/mhmail.c b/uip/mhmail.c index ef1a050..6506b7d 100644 --- a/uip/mhmail.c +++ b/uip/mhmail.c @@ -23,7 +23,7 @@ static struct swit switches[] = { #define SUBJSW 3 { "subject text", 0 }, #define VERSIONSW 4 - { "version", 0 }, + { "Version", 0 }, #define HELPSW 5 { "help", 0 }, #define RESNDSW 6 @@ -38,14 +38,15 @@ static char tmpfil[BUFSIZ]; /* ** static prototypes */ -static RETSIGTYPE intrser(int); +static void intrser(int); int main(int argc, char **argv) { pid_t child_id; - int status, i, iscc = 0, nvec; + int status, iscc = 0, nvec; + unsigned int i; int queued = 0, resent = 0, somebody; char *cp, *tolist = NULL, *cclist = NULL, *subject = NULL; char *from = NULL, *body = NULL, **argp, **arguments; @@ -211,14 +212,9 @@ main(int argc, char **argv) } -static RETSIGTYPE +static void intrser(int i) { -#ifndef RELIABLE_SIGNALS - if (i) - SIGNAL(i, SIG_IGN); -#endif - unlink(tmpfil); done(i != 0 ? 1 : 0); }