chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
service: don't continue looking for syv init scripts after the first failure
[elogind.git]
/
util.c
diff --git
a/util.c
b/util.c
index d2b73125c093d4752205a0d428b46591ee5bdea6..9df6af953f0e13d9ce881f442e88a6894ad799c9 100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-903,8
+903,8
@@
char *xescape(const char *s, const char *bad) {
for (f = s, t = r; *f; f++) {
- if (
*f < ' ' || *f >= 127
||
-
*f == '\\'
|| strchr(bad, *f)) {
+ if (
(*f < ' ') || (*f >= 127)
||
+
(*f == '\\')
|| strchr(bad, *f)) {
*(t++) = '\\';
*(t++) = 'x';
*(t++) = hexchar(*f >> 4);