diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2015-11-17 14:08:37 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-05-17 15:22:13 +0200 |
commit | a2715690ec6b3b9003953bda81020c9910f6c22f (patch) | |
tree | ed0a57892a6d5863c6dedc2a14ec4a3f5ac5a901 /src/basic/hostname-util.c | |
parent | feade5fa43e0e151b8633f50cbe7d46c12d3ce5e (diff) |
hostname-util: fix code comment
Diffstat (limited to 'src/basic/hostname-util.c')
-rw-r--r-- | src/basic/hostname-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/hostname-util.c b/src/basic/hostname-util.c index 206959dad..23366e57b 100644 --- a/src/basic/hostname-util.c +++ b/src/basic/hostname-util.c @@ -74,7 +74,7 @@ static bool hostname_valid_char(char c) { * allow_trailing_dot is true and at least two components are present * in the name. Note that due to the restricted charset and length * this call is substantially more conservative than - * dns_domain_is_valid(). + * dns_name_is_valid(). */ bool hostname_is_valid(const char *s, bool allow_trailing_dot) { unsigned n_dots = 0; |