author | Michael Krelin <hacker@klever.net> | 2007-07-27 15:08:53 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-27 15:08:53 (UTC) |
commit | 3c529d5eb7a257bbdb0513954f48035120fd1b70 (patch) (side-by-side diff) | |
tree | 3a056966627ac53f8fd97613fe4734c4a45e55fd /net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch | |
parent | 98c4c50ae1e5322e018885697a64248cec606652 (diff) | |
download | misc-3c529d5eb7a257bbdb0513954f48035120fd1b70.zip misc-3c529d5eb7a257bbdb0513954f48035120fd1b70.tar.gz misc-3c529d5eb7a257bbdb0513954f48035120fd1b70.tar.bz2 |
net-im/jabberd: cleanup
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch') (more/less context) (ignore whitespace changes)
-rw-r--r-- | net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch b/net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch deleted file mode 100644 index 338369c..0000000 --- a/net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch +++ b/dev/null @@ -1,16 +0,0 @@ ---- jabberd/mio.c 2006/08/10 14:54:02 1290 -+++ jabberd/mio.c 2006/09/02 05:35:46 1291 -@@ -469,6 +469,13 @@ - return NULL; - } - -+ /* do not accept a higher fd than FD_SET, or FD_CLR can handle */ -+ if (fd >= FD_SETSIZE) { -+ log_warn(NULL, "could not accept incoming connection, maximum number of connections reached (%i)", FD_SETSIZE); -+ close(fd); -+ return NULL; -+ } -+ - log_debug2(ZONE, LOGT_IO, "_mio_accept(%X) accepted fd #%d", m, fd); - - /* access and rate checks */ |