summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorEric Biggers <ebiggers3@gmail.com>2015-06-28 12:23:00 -0500
committerHarald Hoyer <harald@redhat.com>2015-06-28 20:02:44 +0200
commit843f6bf4ef2c27c20f16da8ec0c5d4aaaad919bb (patch)
tree632d511c71f0978d2a3f130ef6db200ba98c946a /src/basic
parent281d4a7710b861559f11023657e661511d524ba0 (diff)
util: fix incorrect escape sequence in string_is_safe()
Diffstat (limited to 'src/basic')
-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;
}