1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-26 01:03:02 +01:00
This commit is contained in:
rlt3 2013-08-01 16:01:29 -04:00
commit e1282627c8

View File

@ -83,8 +83,8 @@ static void execute(ToxWindow* self, char* cmd) {
dht.port = htons(atoi(port)); dht.port = htons(atoi(port));
int resolved_address = resolve_addr(ip); uint32_t resolved_address = resolve_addr(ip);
if (resolved_address == -1) { if (resolved_address == 0) {
return; return;
} }