From: Todd C. Miller Date: Tue, 4 Aug 2015 22:15:11 +0000 (-0600) Subject: Move comment to match moved code. X-Git-Tag: SUDO_1_8_15^2~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4abc13bfca48e7323b5a22de7924735911cd56fe;p=sudo Move comment to match moved code. --- diff --git a/plugins/sudoers/sudoers.c b/plugins/sudoers/sudoers.c index b6b9c7f21..6fb7674fc 100644 --- a/plugins/sudoers/sudoers.c +++ b/plugins/sudoers/sudoers.c @@ -972,6 +972,7 @@ set_loginclass(struct passwd *pw) /* * Look up the fully qualified domain name of host. + * Use AI_FQDN if available since "canonical" is not always the same as fqdn. * Returns true on success, setting longp and shortp. * Returns false on failure, longp and shortp are unchanged. */ @@ -1012,7 +1013,6 @@ resolve_host(const char *host, char **longp, char **shortp) /* * Look up the fully qualified domain name of user_host and user_runhost. * Sets user_host, user_shost, user_runhost and user_srunhost. - * Use AI_FQDN if available since "canonical" is not always the same as fqdn. */ static bool set_fqdn(void)