chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tree-wide: allow state to be passed through to parse_proc_cmdline_item
[elogind.git]
/
src
/
basic
/
hostname-util.c
diff --git
a/src/basic/hostname-util.c
b/src/basic/hostname-util.c
index a5cb62eb661e03eaf16682241f82d830ee952e46..5aebd89e34af753b414391616f6595cf79d17ea5 100644
(file)
--- a/
src/basic/hostname-util.c
+++ b/
src/basic/hostname-util.c
@@
-168,7
+168,6
@@
char* hostname_cleanup(char *s) {
*(d++) = *p;
dot = false;
}
-
}
if (dot && d > s)