mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-05 17:56:45 +02:00
4
prompt.c
4
prompt.c
@ -89,7 +89,9 @@ static void execute(ToxWindow* self, char* cmd) {
|
||||
}
|
||||
|
||||
dht.ip.i = resolved_address;
|
||||
DHT_bootstrap(dht, hex_string_to_bin(key));
|
||||
unsigned char *binary_string = hex_string_to_bin(key);
|
||||
DHT_bootstrap(dht, binary_string);
|
||||
free(binary_string);
|
||||
}
|
||||
else if(!strncmp(cmd, "add ", strlen("add "))) {
|
||||
uint8_t id_bin[32];
|
||||
|
Reference in New Issue
Block a user