Skip to content

Commit

Permalink
woops fix hardcoded address
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-asm committed Jan 20, 2017
1 parent 0acf34d commit 42dc8c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menu/cbs/menu_cbs_ok.c
Original file line number Diff line number Diff line change
Expand Up @@ -3135,7 +3135,7 @@ static int action_ok_netplay_connect_room(const char *path,
}

char tmp_hostname[512];
strlcpy(tmp_hostname, "192.168.1.241", sizeof(tmp_hostname));
strlcpy(tmp_hostname, netplay_room_list[idx - 1].address, sizeof(tmp_hostname));

/* Enable Netplay itself */
if (!command_event(CMD_EVENT_NETPLAY_INIT, (void *) tmp_hostname))
Expand Down

0 comments on commit 42dc8c7

Please sign in to comment.