From: David Levine Date: Sun, 13 Mar 2016 19:40:23 +0000 (-0400) Subject: Added oauth switch to whatnow. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/51a5615c40a8e87c518b9e060d0b2e2f74c1bc76?ds=inline;hp=--cc Added oauth switch to whatnow. --- 51a5615c40a8e87c518b9e060d0b2e2f74c1bc76 diff --git a/uip/whatnowsbr.c b/uip/whatnowsbr.c index d8862dc9..e8131262 100644 --- a/uip/whatnowsbr.c +++ b/uip/whatnowsbr.c @@ -956,6 +956,7 @@ buildfile (char **argp, char *file) X("sendmail program", 0, MTSSM) \ X("mts smtp|sendmail/smtp|sendmail/pipe", 2, MTSSW) \ X("messageid localname|random", 2, MESSAGEIDSW) \ + X("oauth service", 5, OAUTHSW) \ #define X(sw, minchars, id) id, DEFINE_SWITCH_ENUM(SEND); @@ -1146,6 +1147,7 @@ sendit (char *sp, char **arg, char *file, int pushed) case MTSSM: case MTSSW: case MESSAGEIDSW: + case OAUTHSW: vec[vecp++] = --cp; if (!(cp = *argp++) || *cp == '-') { advise (NULL, "missing argument to %s", argp[-2]);