diff options
author | Denys Vlasenko | 2009-10-22 19:42:26 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-10-22 19:42:26 +0200 |
commit | 6935ec9c0b2ac58b1ddc206c21bea36582e1f233 (patch) | |
tree | 50ffa8f359c7eb8830f5e0b512954e87071978ac /editors | |
parent | f125b6d341b06fda5412b82d23e486100e107eaa (diff) | |
download | busybox-6935ec9c0b2ac58b1ddc206c21bea36582e1f233.zip busybox-6935ec9c0b2ac58b1ddc206c21bea36582e1f233.tar.gz |
networking/interface.c: tiny code shrink
function old new delta
if_readlist_proc 634 631 -3
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/sed.c b/editors/sed.c index e7b2c21..9b360b6 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -359,7 +359,8 @@ static int parse_subst_cmd(sed_cmd_t *sed_cmd, const char *substr) continue; } /* Skip spaces */ - if (isspace(substr[idx])) continue; + if (isspace(substr[idx])) + continue; switch (substr[idx]) { /* Replace all occurrences */ @@ -417,8 +418,7 @@ static const char *parse_cmd_args(sed_cmd_t *sed_cmd, const char *cmdstr) /* handle edit cmds: (a)ppend, (i)nsert, and (c)hange */ else if (strchr("aic", sed_cmd->cmd)) { if ((sed_cmd->end_line || sed_cmd->end_match) && sed_cmd->cmd != 'c') - bb_error_msg_and_die - ("only a beginning address can be specified for edit commands"); + bb_error_msg_and_die("only a beginning address can be specified for edit commands"); for (;;) { if (*cmdstr == '\n' || *cmdstr == '\\') { cmdstr++; |