]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hostname-util: fix code comment 1931/head
authorBeniamino Galvani <bgalvani@redhat.com>
Tue, 17 Nov 2015 13:08:37 +0000 (14:08 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Tue, 17 Nov 2015 14:06:01 +0000 (15:06 +0100)
src/basic/hostname-util.c

index ea0528c6fcbd19dafbfcdd7d1b687151366c2199..c57a3cbd60e4ea8a901e1f03ffd4edfa1416e3cf 100644 (file)
@@ -72,7 +72,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;