summaryrefslogtreecommitdiff
path: root/src/basic/hostname-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-23 14:29:59 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-24 22:46:45 +0200
commitb59abc4d1e5c8e99323f404ef4a09bd6da68064f (patch)
tree2d62ccc3634557d11b1ecd87db16224a3d9a8465 /src/basic/hostname-util.h
parent077c8c366b58222629ed953abf2faa74ebadb769 (diff)
util: make hostname_is_valid() easier to read
Add more comments, and rename some parameters and variables to be more expressive.
Diffstat (limited to 'src/basic/hostname-util.h')
-rw-r--r--src/basic/hostname-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/hostname-util.h b/src/basic/hostname-util.h
index a1ca94980d..7c50260d73 100644
--- a/src/basic/hostname-util.h
+++ b/src/basic/hostname-util.h
@@ -29,7 +29,7 @@ bool hostname_is_set(void);
char* gethostname_malloc(void);
-bool hostname_is_valid(const char *s, bool relax) _pure_;
+bool hostname_is_valid(const char *s, bool allow_trailing_dot) _pure_;
char* hostname_cleanup(char *s);
bool is_localhost(const char *hostname);