summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-03-31 20:08:05 +0200
committerLennart Poettering <lennart@poettering.net>2010-03-31 20:08:05 +0200
commitb866264a18095d5302443ab0a95560d973ba4b10 (patch)
treed8adcb5b729b8d04f3f08d90ca6087729809ec38 /util.c
parent8e27452380193a5f81bfd08a59aab8b07008ba0b (diff)
gcc: make a couple of gcc warnings go away
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index d2b73125c0..9df6af953f 100644
--- 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);