Merge pull request #4952 from fr500/fixes

fix delimiter for mitm connect
This commit is contained in:
Andrés 2017-05-21 12:13:02 -05:00 committed by GitHub
commit abd6dcd57f

View File

@ -579,7 +579,7 @@ static void netplay_announce_cb(void *task_data, void *user_data, const char *er
host_string = (char*)calloc(1, ip_len + port_len + 2);
memcpy(host_string, mitm_ip, ip_len);
memcpy(host_string + ip_len, ":", 1);
memcpy(host_string + ip_len, "|", 1);
memcpy(host_string + ip_len + 1, mitm_port, port_len);
/* Enable Netplay */