aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/sed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 1b780d478..71542d2ac 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -481,7 +481,7 @@ static void add_cmd(char *cmdstr)
481 cmdstr = bb_xasprintf("%s\n%s", bbg.add_cmd_line, cmdstr); 481 cmdstr = bb_xasprintf("%s\n%s", bbg.add_cmd_line, cmdstr);
482 free(bbg.add_cmd_line); 482 free(bbg.add_cmd_line);
483 bbg.add_cmd_line = cmdstr; 483 bbg.add_cmd_line = cmdstr;
484 } else bbg.add_cmd_line=NULL; /* XXX: erm.. bbg.add_cmd_line was 0 and we set it to *0 here why? */ 484 }
485 485
486 /* If this line ends with backslash, request next line. */ 486 /* If this line ends with backslash, request next line. */
487 temp=strlen(cmdstr); 487 temp=strlen(cmdstr);