From c0f82142185d866011b78f67f488089875ed99f9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 8 Apr 2009 00:03:05 +0000 Subject: (svn r15972) -Codechange: remove unneeded parameter --- src/network/core/udp.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/network/core/udp.cpp') diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp index 96ece0ace..4a5570002 100644 --- a/src/network/core/udp.cpp +++ b/src/network/core/udp.cpp @@ -41,11 +41,7 @@ bool NetworkUDPSocketHandler::Listen() this->Close(); for (NetworkAddress *addr = this->bind.Begin(); addr != this->bind.End(); addr++) { - addr->Listen(AF_UNSPEC, SOCK_DGRAM, &this->sockets); - } - - for (SocketList::iterator s = this->sockets.Begin(); s != this->sockets.End(); s++) { - DEBUG(net, 1, "[udp] listening on port %s", s->first.GetAddressAsString()); + addr->Listen(SOCK_DGRAM, &this->sockets); } return this->sockets.Length() != 0; -- cgit v1.2.3-54-g00ecf