]> granicus.if.org Git - sudo/commitdiff
Move comment to match moved code.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 4 Aug 2015 22:15:11 +0000 (16:15 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 4 Aug 2015 22:15:11 +0000 (16:15 -0600)
plugins/sudoers/sudoers.c

index b6b9c7f21d586036e9ee7d7ca3d939a6febc49b5..6fb7674fcd6b9bde3a35461187cab08305d1dc2b 100644 (file)
@@ -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)