]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/util.c
util: fix incorrect escape sequence in string_is_safe()
[thirdparty/systemd.git] / src / basic / util.c
index 727be56f58302a90d1d3395262ea754efa4bb256..906e4abad68c946687c4cca57eb46c60ab33dd30 100644 (file)
@@ -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;
         }