be more accepting of udp info
This commit is contained in:
parent
debd7350bf
commit
814e3afb6c
1 changed files with 0 additions and 2 deletions
|
@ -252,12 +252,10 @@ int FillinUDPInfo(unsigned long udphost, int udpport, char* ip, char* port) {
|
|||
GameData *game;
|
||||
for (game = Games; game; game = Games->Next) {
|
||||
if (!strcmp(game->IP, ip) && !strcmp(game->Port, port)) {
|
||||
if (!game->UDPHost && !game->UDPPort) {
|
||||
game->UDPHost = udphost;
|
||||
game->UDPPort = udpport;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue