(svn r15990) -Codechange: provide a thread safe variant of GetAddressAsString.
This commit is contained in:
@@ -416,7 +416,7 @@ void NetworkUDPQueryServerThread(void *pntr)
|
||||
/* Clear item in gamelist */
|
||||
NetworkGameList *item = CallocT<NetworkGameList>(1);
|
||||
item->address = *info;
|
||||
strecpy(item->info.server_name, info->GetAddressAsString(), lastof(item->info.server_name));
|
||||
info->GetAddressAsString(item->info.server_name, lastof(item->info.server_name));
|
||||
strecpy(item->info.hostname, info->GetHostname(), lastof(item->info.hostname));
|
||||
item->manually = info->manually;
|
||||
NetworkGameListAddItemDelayed(item);
|
||||
|
Reference in New Issue
Block a user