diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2015-07-20 18:24:16 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2015-07-20 18:24:16 +0000 |
commit | 4c2b3b1ca4e4406b0e6357ef79017268ba0f9fdb (patch) | |
tree | 14e4987820a3546e262881e53fdb36b843dcc14d /usr.bin/sed/process.c | |
parent | 5827d6fd3be65373ee1668c2aed369d030290a69 (diff) |
fix eyesore whitespace
Diffstat (limited to 'usr.bin/sed/process.c')
-rw-r--r-- | usr.bin/sed/process.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index 26daab57d52..7a2d46a8063 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process.c,v 1.25 2015/07/19 17:21:21 deraadt Exp $ */ +/* $OpenBSD: process.c,v 1.26 2015/07/20 18:24:15 jasper Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. @@ -441,10 +441,10 @@ flush_appends(void) int count, i; char buf[8 * 1024]; - for (i = 0; i < appendx; i++) + for (i = 0; i < appendx; i++) switch (appends[i].type) { case AP_STRING: - fwrite(appends[i].s, sizeof(char), appends[i].len, + fwrite(appends[i].s, sizeof(char), appends[i].len, outfile); break; case AP_FILE: @@ -476,7 +476,7 @@ lputs(char *s) const char *escapes; char *p; - for (count = 0; *s; ++s) { + for (count = 0; *s; ++s) { if (count >= termwidth) { (void)fprintf(outfile, "\\\n"); count = 0; @@ -512,7 +512,7 @@ regexec_e(regex_t *preg, const char *string, int eflags, int nomatch, size_t slen) { int eval; - + if (preg == NULL) { if (defpreg == NULL) err(FATAL, "first RE may not be empty"); @@ -522,7 +522,7 @@ regexec_e(regex_t *preg, const char *string, int eflags, /* Set anchors */ match[0].rm_so = 0; match[0].rm_eo = slen; - + eval = regexec(defpreg, string, nomatch ? 0 : maxnsub + 1, match, eflags | REG_STARTEND); switch (eval) { |