summaryrefslogtreecommitdiff
path: root/src/basic/hostname-util.c
diff options
context:
space:
mode:
authorVito Caputo <vito.caputo@coreos.com>2016-02-22 20:32:04 -0800
committerSven Eden <yamakuzure@gmx.net>2017-06-16 10:12:57 +0200
commitbc983c987eb3f92eceb373ba4e1c2076b0b3ca88 (patch)
treeea6f34eed7297fc3cd0a7bd64835bd310603fb7b /src/basic/hostname-util.c
parent3c84247622c7d6ad51e7a49907995e3e48b5f472 (diff)
tree-wide: make ++/-- usage consistent WRT spacing
Throughout the tree there's spurious use of spaces separating ++ and -- operators from their respective operands. Make ++ and -- operator consistent with the majority of existing uses; discard the spaces.
Diffstat (limited to 'src/basic/hostname-util.c')
-rw-r--r--src/basic/hostname-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/hostname-util.c b/src/basic/hostname-util.c
index b9ab88436..3bd3a4d7b 100644
--- a/src/basic/hostname-util.c
+++ b/src/basic/hostname-util.c
@@ -100,7 +100,7 @@ bool hostname_is_valid(const char *s, bool allow_trailing_dot) {
return false;
dot = true;
- n_dots ++;
+ n_dots++;
} else {
if (!hostname_valid_char(*p))
return false;