X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsend.c;h=b9b2da04c5616118f12735b7d9e43ef9007aa339;hb=572cac455e444c60c4f7803d3e4b69fff89b9af2;hp=577abacd163804a47c678f76db00d93fef6ea8f5;hpb=783f1bcf7d7429121a97eb0117bf444c1a59a28e;p=mmh diff --git a/uip/send.c b/uip/send.c old mode 100755 new mode 100644 index 577abac..b9b2da0 --- a/uip/send.c +++ b/uip/send.c @@ -122,6 +122,8 @@ static struct swit switches[] = { { "tls", TLSminc(-3) }, #define NTLSSW 47 { "notls", TLSminc(-5) }, +#define MTSSW 48 + { "mts smtp|sendmail/smtp|sendmail/pipe", 2 }, { NULL, 0 } }; @@ -198,10 +200,10 @@ main (int argc, char **argv) case HELPSW: snprintf (buf, sizeof(buf), "%s [file] [switches]", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case DRAFTSW: msgs[msgp++] = draft; @@ -301,6 +303,7 @@ main (int argc, char **argv) case SASLMXSSFSW: case USERSW: case PORTSW: + case MTSSW: vec[vecp++] = --cp; if (!(cp = *argp++) || *cp == '-') adios (NULL, "missing argument to %s", argp[-2]);