diff options
author | Denis Vlasenko | 2008-09-27 14:03:25 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-09-27 14:03:25 +0000 |
commit | d6855d1b5043089fc606f7e62679babb68c7cbb4 (patch) | |
tree | 8004722cf1b409fc4d988086dad179577db8c4fa /shell | |
parent | bed22a01fb19de6e4b4c2c7d8c5953bc7aa2580e (diff) | |
download | busybox-d6855d1b5043089fc606f7e62679babb68c7cbb4.zip busybox-d6855d1b5043089fc606f7e62679babb68c7cbb4.tar.gz |
style fixes, no code changes
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index d63acc2..0878237 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -5980,7 +5980,7 @@ subevalvar(char *p, char *str, int strloc, int subtype, /* We must adjust the length by the number of escapes we find. */ for (ptr = startp; ptr < (str - 1); ptr++) { - if(*ptr == CTLESC) { + if (*ptr == CTLESC) { len--; ptr++; } @@ -6056,7 +6056,7 @@ subevalvar(char *p, char *str, int strloc, int subtype, if (subtype == VSREPLACE || subtype == VSREPLACEALL) { char *idx, *end, *restart_detect; - if(!repl) { + if (!repl) { repl = parse_sub_pattern(str, varflags & VSQUOTE); if (!repl) repl = &null; |