chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feade5f
)
hostname-util: fix code comment
author
Beniamino Galvani
<bgalvani@redhat.com>
Tue, 17 Nov 2015 13:08:37 +0000
(14:08 +0100)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:13 +0000
(15:22 +0200)
src/basic/hostname-util.c
patch
|
blob
|
history
diff --git
a/src/basic/hostname-util.c
b/src/basic/hostname-util.c
index 206959dad75ead0766b3fdc4abc6253be1cc3e73..23366e57bdf9ef7dee68e04cecc56dea9bc48043 100644
(file)
--- 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;