masqmail
diff src/masqmail.c @ 247:3c40f86d50e4
ignoring -m switch now
Some software (e.g. spost of nmh) calls sendmail with -m.
Until now, masqmail failed on this unrecognized option.
From now on it is ignored.
See man/masqmail.8 for the meaning of -m.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Mon, 01 Nov 2010 13:30:02 -0300 |
parents | 3708b655a371 |
children | 018cfd163f5c |
line diff
1.1 --- a/src/masqmail.c Thu Oct 28 16:40:02 2010 -0300 1.2 +++ b/src/masqmail.c Mon Nov 01 13:30:02 2010 -0300 1.3 @@ -428,6 +428,9 @@ 1.4 M_cmd = g_strdup(&(argv[arg][pos])); 1.5 } 1.6 break; 1.7 + case 'm': 1.8 + /* ignore -m (me too) switch (see man page) */ 1.9 + break; 1.10 case 'o': 1.11 switch (argv[arg][pos++]) { 1.12 case 'e': 1.13 @@ -446,6 +449,9 @@ 1.14 opt_i = TRUE; 1.15 exit_failure = FALSE; /* may override -oem */ 1.16 break; 1.17 + case 'm': 1.18 + /* ignore -m (me too) switch (see man page) */ 1.19 + break; 1.20 } 1.21 break; 1.22