projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Author: Perry Lorier <isomer@coders.net>
[ircu2.10.12-pk.git]
/
ircd
/
listener.c
diff --git
a/ircd/listener.c
b/ircd/listener.c
index ce7ddc7065a8aa66762fe2cb36cddde00f95634f..3366052862e71333182c64614f8d38c899f8654d 100644
(file)
--- a/
ircd/listener.c
+++ b/
ircd/listener.c
@@
-412,8
+412,9
@@
void accept_connection(struct Listener* listener)
* point, just assume that connections cannot
* be accepted until some old is closed first.
*/
* point, just assume that connections cannot
* be accepted until some old is closed first.
*/
- if (-1 == (fd = accept(listener->fd, (struct sockaddr*) &addr, &addrlen)))
+ if (-1 == (fd = accept(listener->fd, (struct sockaddr*) &addr, &addrlen)))
{
return;
return;
+ }
/*
* check for connection limit
*/
/*
* check for connection limit
*/