mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed a tiny bug
This commit is contained in:
parent
f1ea6024cf
commit
ea49be0e95
|
@ -242,7 +242,7 @@ struct server_conf_s configure_server(char *cfg_file)
|
||||||
printf("bootstrap_server %d: Invalid port\n", i);
|
printf("bootstrap_server %d: Invalid port\n", i);
|
||||||
}
|
}
|
||||||
|
|
||||||
server_conf.info[i].conn.ip.i = inet_addr(strcpy(tmp_ip, bs_ip));
|
server_conf.info[i].conn.ip.i = resolve_addr(strcpy(tmp_ip, bs_ip));
|
||||||
server_conf.info[i].conn.port = htons(bs_port);
|
server_conf.info[i].conn.port = htons(bs_port);
|
||||||
b16_to_key(strcpy(tmp_pk, bs_pk), bs_pk_p);
|
b16_to_key(strcpy(tmp_pk, bs_pk), bs_pk_p);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user