This commit is contained in:
radius 2017-01-28 22:13:12 -05:00
parent cfb882f4fc
commit 34550ba3b5
2 changed files with 2 additions and 2 deletions

View File

@ -3148,7 +3148,7 @@ static int action_ok_netplay_connect_room(const char *path,
task_push_netplay_crc_scan(netplay_room_list[idx - 2].gamecrc,
netplay_room_list[idx - 2].gamename,
tmp_hostname, netplay_room_list[idx - 1].corename);
tmp_hostname, netplay_room_list[idx - 2].corename);
#else
return -1;

View File

@ -158,7 +158,7 @@ static int action_bind_sublabel_netplay_room(
netplay_room_list[i - 2].corename, netplay_room_list[i - 2].coreversion,
netplay_room_list[i - 2].gamename, netplay_room_list[i - 2].gamecrc);
#if 0
strlcpy(s, netplay_room_list[i - 1].corename, len);
strlcpy(s, netplay_room_list[i - 2].corename, len);
#endif
return 0;
}