From 51a5615c40a8e87c518b9e060d0b2e2f74c1bc76 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sun, 13 Mar 2016 15:40:23 -0400 Subject: [PATCH] Added oauth switch to whatnow. --- uip/whatnowsbr.c | 2 ++ 1 file changed, 2 insertions(+) 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]); -- 2.56.0