Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dirplex: Moved to its own directory and split off configuration code.
[ashd.git]
/
lib
/
proc.c
diff --git
a/lib/proc.c
b/lib/proc.c
index
957cfce
..
2e61e92
100644
(file)
--- a/
lib/proc.c
+++ b/
lib/proc.c
@@
-84,7
+84,7
@@
int sendfd(int sock, int fd, char *data, size_t datalen)
int recvfd(int sock, char **data, size_t *datalen)
{
int ret, fd;
int recvfd(int sock, char **data, size_t *datalen)
{
int ret, fd;
- char *buf, cbuf[1024];
;
+ char *buf, cbuf[1024];
struct msghdr msg;
struct cmsghdr *cmsg;
struct iovec bufvec;
struct msghdr msg;
struct cmsghdr *cmsg;
struct iovec bufvec;
@@
-163,6
+163,5
@@
pid_t stdforkserve(char **argv, struct hthead *req, int fd)
flog(LOG_WARNING, "could not exec child program %s: %s", argv[0], strerror(errno));
exit(127);
}
flog(LOG_WARNING, "could not exec child program %s: %s", argv[0], strerror(errno));
exit(127);
}
- close(fd);
return(pid);
}
return(pid);
}