Imported Upstream version 2.6.1
This commit is contained in:
parent
459aaf9392
commit
a367d9bc54
178 changed files with 4651 additions and 3279 deletions
|
|
@ -356,7 +356,11 @@ static void conn_add(int sockfd)
|
|||
int acc, ret;
|
||||
conn_t *tmp, *last;
|
||||
struct sockaddr_un saddr;
|
||||
#if defined(__hpux) && !defined(_XOPEN_SOURCE_EXTENDED)
|
||||
int salen;
|
||||
#else
|
||||
socklen_t salen;
|
||||
#endif
|
||||
|
||||
salen = sizeof(saddr);
|
||||
acc = accept(sockfd, (struct sockaddr *) &saddr, &salen);
|
||||
|
|
@ -495,9 +499,6 @@ static void start_daemon(int lockfd)
|
|||
struct timeval tv;
|
||||
fd_set rfds;
|
||||
conn_t *tmp, *tmpnext;
|
||||
socklen_t fromlen;
|
||||
|
||||
fromlen = sizeof(struct sockaddr);
|
||||
|
||||
us_serialize(SERIALIZE_INIT);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue