summaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-06-25 09:53:17 +0000
committerDenis Vlasenko2008-06-25 09:53:17 +0000
commit7049ff8696c3c2a1be0f9901d7e2473568b8f918 (patch)
treec952ee767508bb76c25d6269a298aa16cad99b82 /shell/hush.c
parentf26e3d2e41cc7d2fabcf5c2e777306c36a8d5868 (diff)
downloadbusybox-7049ff8696c3c2a1be0f9901d7e2473568b8f918.zip
busybox-7049ff8696c3c2a1be0f9901d7e2473568b8f918.tar.gz
whitespace fixes. no code changes
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index ace0cda..032482c 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1063,7 +1063,7 @@ static int o_save_ptr_helper(o_string *o, int n)
/* list[n] points to string_start, make space for 16 more pointers */
o->maxlen += 0x10 * sizeof(list[0]);
o->data = xrealloc(o->data, o->maxlen + 1);
- list = (char**)o->data;
+ list = (char**)o->data;
memmove(list + n + 0x10, list + n, string_len);
o->length += 0x10 * sizeof(list[0]);
} else
@@ -3018,7 +3018,7 @@ static void done_pipe(struct p_context *ctx, pipe_style type)
/* Create the memory for child, roughly:
* ctx->pipe->progs = new struct child_prog;
* ctx->pipe->progs[0].family = ctx->pipe;
- * ctx->child = &ctx->pipe->progs[0];
+ * ctx->child = &ctx->pipe->progs[0];
*/
done_command(ctx);
}