1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 11:13:24 +01:00
This commit is contained in:
Jfreegman 2013-08-08 04:55:22 -04:00
parent 297ee1ecaa
commit 757073a461

View File

@ -109,7 +109,7 @@ static void execute(ToxWindow *self, char *u_cmd)
}
dht.port = htons(atoi(port));
uintKEY_SIZE_BYTES_t resolved_address = resolve_addr(ip);
uint32_t resolved_address = resolve_addr(ip);
if (resolved_address == 0) {
return;
}
@ -123,7 +123,7 @@ static void execute(ToxWindow *self, char *u_cmd)
else if (!strncmp(cmd, "add ", strlen("add "))) {
uint8_t id_bin[KEY_SIZE_BYTES];
char xx[3];
uintKEY_SIZE_BYTES_t x;
uint32_t x;
char *id = strchr(cmd, ' ');
if (id == NULL) {
wprintw(self->window, "Invalid syntax.\n");