From: David Levine Date: Sun, 28 Oct 2018 14:45:08 +0000 (-0400) Subject: Corrected comment: whom(1) does not use context_foil(). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/366cc6fc4c7bf1eed47cc9b52d0ef809b2e90174?ds=sidebyside;hp=ccd09d8608bdf494e9ad8d0e1239e4f83953a383 Corrected comment: whom(1) does not use context_foil(). --- diff --git a/sbr/mts.c b/sbr/mts.c index 60e4c3c2..13c3a08a 100644 --- a/sbr/mts.c +++ b/sbr/mts.c @@ -357,8 +357,8 @@ getuserinfo (void) /* If there's a Local-Mailbox profile component, try to extract the username from it. But don't try very hard, this assumes the very simple User Name form. - Note that post(8) and whom(1) use context_foil (), so they - won't see the profile component. */ + Note that post(8) uses context_foil(), so it won't see the profile + component. */ if ((np = context_find("Local-Mailbox")) != NULL) { char *left_angle_bracket = strchr (np, '<'); char *at_sign = strchr (np, '@'); @@ -397,8 +397,8 @@ getuserinfo (void) /* The $SIGNATURE environment variable overrides the GECOS field's idea of your real name. If SIGNATURE isn't set, use the Signature profile setting if it exists. - Note that post(8) and whom(1) use context_foil (), so they - won't see the profile component. */ + Note that post(8) uses context_foil(), so it won't see the profile + component. */ if ((cp = getenv ("SIGNATURE")) && *cp) strncpy (fullname, cp, sizeof(fullname)); else if ((cp = context_find("Signature")))