From 19234f2b7a3acccab061b6814868602e7c58d843 Mon Sep 17 00:00:00 2001 From: thilo Date: Fri, 22 May 2009 00:34:37 +0000 Subject: Minor fix for server infostring. Thanks to slacker git-svn-id: svn://svn.icculus.org/quake3/trunk@1556 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/client/cl_ui.c') diff --git a/code/client/cl_ui.c b/code/client/cl_ui.c index 56a226b..ed32313 100644 --- a/code/client/cl_ui.c +++ b/code/client/cl_ui.c @@ -296,7 +296,7 @@ static void LAN_GetServerInfo( int source, int n, char *buf, int buflen ) { Info_SetValueForKey( info, "game", server->game); Info_SetValueForKey( info, "gametype", va("%i",server->gameType)); Info_SetValueForKey( info, "nettype", va("%i",server->netType)); - Info_SetValueForKey( info, "addr", NET_AdrToString(server->adr)); + Info_SetValueForKey( info, "addr", NET_AdrToStringwPort(server->adr)); Info_SetValueForKey( info, "punkbuster", va("%i", server->punkbuster)); Q_strncpyz(buf, info, buflen); } else { -- cgit v1.2.3