diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-10-17 21:24:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-10-17 21:25:42 +0200 |
commit | 01539d6ef9689ffdc7c0743e12740a78bb938b97 (patch) | |
tree | 67da26110d2042d24696808b2593becbe41b8707 /src | |
parent | 4fa25d62bd586b56fa6a30009f41ce6dbc5fdd54 (diff) |
hostnamed: allow UTF8 chars in pretty hostname again
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c index 50c4c08993..1c97a8a94a 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -5929,7 +5929,7 @@ bool string_is_safe(const char *p) { assert(p); for (t = p; *t; t++) { - if (*t < ' ') + if (*t > 0 && *t < ' ') return false; if (strchr("\\\"\'", *t)) |