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-w32-d6855d1b5043089fc606f7e62679babb68c7cbb4.tar.gz
busybox-w32-d6855d1b5043089fc606f7e62679babb68c7cbb4.tar.bz2
busybox-w32-d6855d1b5043089fc606f7e62679babb68c7cbb4.zip
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,
5980 5980
5981 /* We must adjust the length by the number of escapes we find. */ 5981 /* We must adjust the length by the number of escapes we find. */
5982 for (ptr = startp; ptr < (str - 1); ptr++) { 5982 for (ptr = startp; ptr < (str - 1); ptr++) {
5983 if(*ptr == CTLESC) { 5983 if (*ptr == CTLESC) {
5984 len--; 5984 len--;
5985 ptr++; 5985 ptr++;
5986 } 5986 }
@@ -6056,7 +6056,7 @@ subevalvar(char *p, char *str, int strloc, int subtype,
6056 if (subtype == VSREPLACE || subtype == VSREPLACEALL) { 6056 if (subtype == VSREPLACE || subtype == VSREPLACEALL) {
6057 char *idx, *end, *restart_detect; 6057 char *idx, *end, *restart_detect;
6058 6058
6059 if(!repl) { 6059 if (!repl) {
6060 repl = parse_sub_pattern(str, varflags & VSQUOTE); 6060 repl = parse_sub_pattern(str, varflags & VSQUOTE);
6061 if (!repl) 6061 if (!repl)
6062 repl = &null; 6062 repl = &null;