Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b065b
)
Fixed return bug in childhandle.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 24 Aug 2010 19:35:10 +0000
(21:35 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 24 Aug 2010 19:35:10 +0000
(21:35 +0200)
lib/cf.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/cf.c
b/lib/cf.c
index
5df5c59
..
82e5fba
100644
(file)
--- a/
lib/cf.c
+++ b/
lib/cf.c
@@
-289,7
+289,7
@@
int childhandle(struct child *ch, struct hthead *req, int fd)
close(ch->fd);
ch->fd = stdmkchild(ch->argv);
if(!sendreq(ch->fd, req, fd))
- return(
-1
);
+ return(
0
);
}
flog(LOG_ERR, "could not pass on request to child %s: %s", ch->name, strerror(errno));
close(ch->fd);