mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-28 12:57:50 +00:00
Move comment to match moved code.
This commit is contained in:
parent
e0969c162e
commit
4abc13bfca
@ -972,6 +972,7 @@ set_loginclass(struct passwd *pw)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Look up the fully qualified domain name of host.
|
* 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 true on success, setting longp and shortp.
|
||||||
* Returns false on failure, longp and shortp are unchanged.
|
* 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.
|
* Look up the fully qualified domain name of user_host and user_runhost.
|
||||||
* Sets user_host, user_shost, user_runhost and user_srunhost.
|
* 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
|
static bool
|
||||||
set_fqdn(void)
|
set_fqdn(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user