diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-03-31 20:08:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-03-31 20:08:05 +0200 |
commit | b866264a18095d5302443ab0a95560d973ba4b10 (patch) | |
tree | d8adcb5b729b8d04f3f08d90ca6087729809ec38 /util.c | |
parent | 8e27452380193a5f81bfd08a59aab8b07008ba0b (diff) |
gcc: make a couple of gcc warnings go away
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |