summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-06-29 05:43:26 +0200
committerDaniel Mack <github@zonque.org>2015-06-29 05:43:26 +0200
commita611cd740675c1a1a886cd57617a846dfdd8493c (patch)
tree44c5ec379fa3adfb57e8f2ae1ea61be3538c01e1 /src
parenteeec69e0e01a87379c0a09c925b22900d0ef2d3c (diff)
parent843f6bf4ef2c27c20f16da8ec0c5d4aaaad919bb (diff)
Merge pull request #402 from systemd-mailing-devs/1435512180-3659-1-git-send-email-ebiggers3@gmail.com
util: fix incorrect escape sequence in string_is_safe()
Diffstat (limited to 'src')
-rw-r--r--src/basic/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/util.c b/src/basic/util.c
index 727be56f58..906e4abad6 100644
--- a/src/basic/util.c
+++ b/src/basic/util.c
@@ -3627,7 +3627,7 @@ bool string_is_safe(const char *p) {
if (*t > 0 && *t < ' ')
return false;
- if (strchr("\\\"\'\0x7f", *t))
+ if (strchr("\\\"\'\x7f", *t))
return false;
}