Adjust to recent ObjFW changes.

This commit is contained in:
Florian Zeitz 2013-01-12 23:47:49 +01:00
parent 089f994131
commit 1e6f98c6df

View file

@ -214,7 +214,7 @@
answer = [self allocMemoryWithSize: pageSize];
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);
if ((answerLen == -1) && ((h_errno == HOST_NOT_FOUND) ||