Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
doc: Fixed typo.
[ashd.git]
/
src
/
htpipe.c
diff --git
a/src/htpipe.c
b/src/htpipe.c
index
223212e
..
27e5480
100644
(file)
--- a/
src/htpipe.c
+++ b/
src/htpipe.c
@@
-124,6
+124,7
@@
static void runserver(int lsk, int ch)
if((rfd = recvreq(cl[i], &req)) < 0) {
if(errno != 0)
flog(LOG_ERR, "htpipe: error from client: %s", strerror(errno));
+ close(cl[i]);
cl[i] = -1;
} else {
if(sendreq(ch, req, rfd)) {