Display a dialog if DNS resolution fails

This commit is contained in:
Cameron Gutman committed 2014-10-21 14:31:03 -04:00
1 parent bfca061694
commit 01a2853032
2 files changed
+18 -1

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@
return addr;
} else {
NSLog(@"Failed to resolve host: %d", h_errno);
return -1;
return 0;
}
}
}