From: Beniamino Galvani Date: Tue, 17 Nov 2015 13:08:37 +0000 (+0100) Subject: hostname-util: fix code comment X-Git-Tag: v229.1~1^2~114 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a2715690ec6b3b9003953bda81020c9910f6c22f hostname-util: fix code comment --- 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;