Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dirplex: Start children in the directory in which they were declared.
[ashd.git]
/
src
/
patplex.c
diff --git
a/src/patplex.c
b/src/patplex.c
index
3f22d73
..
04b7a10
100644
(file)
--- a/
src/patplex.c
+++ b/
src/patplex.c
@@
-438,7
+438,7
@@
static void serve(struct hthead *req, int fd)
return;
}
return;
}
- if(childhandle(ch, req, fd))
+ if(childhandle(ch, req, fd
, NULL, NULL
))
simpleerror(fd, 500, "Server Error", "The request handler crashed.");
}
simpleerror(fd, 500, "Server Error", "The request handler crashed.");
}
@@
-519,6
+519,8
@@
int main(int argc, char **argv)
reload = 0;
}
if((fd = recvreq(0, &req)) < 0) {
reload = 0;
}
if((fd = recvreq(0, &req)) < 0) {
+ if(errno == EINTR)
+ continue;
if(errno != 0)
flog(LOG_ERR, "recvreq: %s", strerror(errno));
break;
if(errno != 0)
flog(LOG_ERR, "recvreq: %s", strerror(errno));
break;