mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-29 06:56:44 +02:00
separate bootstrapping and adding TCP relays per toxcore API changes
This commit is contained in:
@ -260,6 +260,7 @@ void cmd_connect(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)
|
||||
|
||||
TOX_ERR_BOOTSTRAP err;
|
||||
tox_bootstrap(m, ip, atoi(port), (uint8_t *) binary_string, &err);
|
||||
tox_add_tcp_relay(m, ip, atoi(port), (uint8_t *) binary_string, &err);
|
||||
free(binary_string);
|
||||
|
||||
switch (err) {
|
||||
|
Reference in New Issue
Block a user