Adjust to recent ObjFW changes.
This commit is contained in:
parent
089f994131
commit
1e6f98c6df
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@
|
||||||
|
|
||||||
answer = [self allocMemoryWithSize: pageSize];
|
answer = [self allocMemoryWithSize: pageSize];
|
||||||
answerLen = res_nsearch(&resState,
|
answerLen = res_nsearch(&resState,
|
||||||
[request cStringUsingEncoding: OF_STRING_ENCODING_NATIVE],
|
[request cStringWithEncoding: OF_STRING_ENCODING_NATIVE],
|
||||||
ns_c_in, ns_t_srv, answer, (int)pageSize);
|
ns_c_in, ns_t_srv, answer, (int)pageSize);
|
||||||
|
|
||||||
if ((answerLen == -1) && ((h_errno == HOST_NOT_FOUND) ||
|
if ((answerLen == -1) && ((h_errno == HOST_NOT_FOUND) ||
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue