diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-10-02 06:52:11 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-10-02 06:52:11 +0200 |
commit | 2d9856cca866cd3aa9b4fb357a9636c283b9d645 (patch) | |
tree | 6e9d60ae606f5a5ab61a87b9613754d427058f7a | |
parent | 289193dd1a5dea186e33e9ce1a5493c7f39e6b71 (diff) | |
download | xK-2d9856cca866cd3aa9b4fb357a9636c283b9d645.tar.gz xK-2d9856cca866cd3aa9b4fb357a9636c283b9d645.tar.xz xK-2d9856cca866cd3aa9b4fb357a9636c283b9d645.zip |
Bump liberty, use iscntrl_ascii()
-rw-r--r-- | degesch.c | 4 | ||||
m--------- | liberty | 0 |
2 files changed, 2 insertions, 2 deletions
@@ -2246,7 +2246,7 @@ config_validate_nonjunk_string { // Not even a tabulator unsigned char c = item->value.string.str[i]; - if (c < 32) + if (iscntrl_ascii (c)) { error_set (e, "control characters are not allowed"); return false; @@ -8059,7 +8059,7 @@ static bool validate_server_name (const char *name) { for (const unsigned char *p = (const unsigned char *) name; *p; p++) - if (*p < 32 || *p == '.') + if (iscntrl_ascii (*p) || *p == '.') return false; return true; } diff --git a/liberty b/liberty -Subproject 1a76b2032e6d18d9f95d9d0bb98edc26023c861 +Subproject 7023c513477eca7832f5ae3c6204a7240c1401c |