w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 912d370d6eba229fa9460a466f111859b2874b65
parent 183254943602f097c23e36e90aeaa670dd212241
Author: ukai <ukai>
Date:   Wed, 22 Jan 2003 16:11:03 +0000

fix indent

Diffstat:
Metc.c | 12++++++------
Mfile.c | 2+-
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/etc.c b/etc.c @@ -1340,7 +1340,7 @@ setup_child(int child, int i, int f) } pid_t -open_pipe_rw(FILE **fr, FILE **fw) +open_pipe_rw(FILE ** fr, FILE ** fw) { int fdr[2]; int fdw[2]; @@ -1379,16 +1379,16 @@ open_pipe_rw(FILE **fr, FILE **fw) return pid; err2: if (fw) { - close(fdw[0]); - close(fdw[1]); + close(fdw[0]); + close(fdw[1]); } err1: if (fr) { - close(fdr[0]); - close(fdr[1]); + close(fdr[0]); + close(fdr[1]); } err0: - return (pid_t) -1; + return (pid_t) - 1; } void diff --git a/file.c b/file.c @@ -7765,7 +7765,7 @@ uncompress_stream(URLFile *uf, char **src) /* child */ pid_t pid2; FILE *f2; - dup2(1, 2); /* stderr>&stdout */ + dup2(1, 2); /* stderr>&stdout */ setup_child(TRUE, -1, UFfileno(uf)); pid2 = open_pipe_rw(NULL, &f2); if (pid2 < 0) {