aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-09-27 14:03:25 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-09-27 14:03:25 +0000
commitd6855d1b5043089fc606f7e62679babb68c7cbb4 (patch)
tree8004722cf1b409fc4d988086dad179577db8c4fa /shell
parentbed22a01fb19de6e4b4c2c7d8c5953bc7aa2580e (diff)
downloadbusybox-d6855d1b5043089fc606f7e62679babb68c7cbb4.tar.gz
style fixes, no code changes
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index d63acc2c8..0878237bf 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;