aboutsummaryrefslogtreecommitdiffstats
path: root/etc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 16:11:03 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-22 16:11:03 +0000
commit64672ce9cea6de1c89912f1af79cb20be03b21b3 (patch)
tree3b11ff00762d838c9b3193babbe534cde50fc8c6 /etc.c
parent[w3m-dev 03676] cleanup for pipe (diff)
downloadw3m-64672ce9cea6de1c89912f1af79cb20be03b21b3.tar.gz
w3m-64672ce9cea6de1c89912f1af79cb20be03b21b3.zip
fix indent
Diffstat (limited to '')
-rw-r--r--etc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/etc.c b/etc.c
index 142ce74..2dca5c9 100644
--- a/etc.c
+++ b/etc.c
@@ -1,4 +1,4 @@
-/* $Id: etc.c,v 1.53 2003/01/22 16:10:28 ukai Exp $ */
+/* $Id: etc.c,v 1.54 2003/01/22 16:11:03 ukai Exp $ */
#include "fm.h"
#include <pwd.h>
#include "myctype.h"
@@ -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