Display a dialog if DNS resolution fails

This commit is contained in:
Cameron Gutman
2014-10-21 14:31:03 -04:00
parent bfca061694
commit 01a2853032
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -67,7 +67,7 @@
return addr;
} else {
NSLog(@"Failed to resolve host: %d", h_errno);
return -1;
return 0;
}
}
}