(svn r15972) -Codechange: remove unneeded parameter

This commit is contained in:
rubidium
2009-04-08 00:03:05 +00:00
parent 2a6e9288fd
commit c0f8214218
4 changed files with 12 additions and 13 deletions

View File

@@ -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;