From 4c2b3b1ca4e4406b0e6357ef79017268ba0f9fdb Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Mon, 20 Jul 2015 18:24:16 +0000 Subject: fix eyesore whitespace --- usr.bin/sed/process.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'usr.bin/sed/process.c') 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) { -- cgit v1.2.3