From: havoc Date: Wed, 29 Jun 2005 23:03:32 +0000 (+0000) Subject: stop searching for a server port when one is found X-Git-Tag: xonotic-v0.1.0preview~4712 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=61fd28b0877971a7600848ec0b15791e5765b76d;p=xonotic%2Fdarkplaces.git stop searching for a server port when one is found git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5474 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/netconn.c b/netconn.c index 788b877d..c914d0c2 100755 --- a/netconn.c +++ b/netconn.c @@ -673,6 +673,7 @@ void NetConn_OpenServerPort(const char *addressstring, int defaultport) sv_sockets[sv_numsockets++] = s; LHNETADDRESS_ToString(LHNET_AddressFromSocket(s), addressstring2, sizeof(addressstring2), true); Con_Printf("Server listening on address %s\n", addressstring2); + break; } else {