From 1e6f98c6df7380bd17fc2e8d1d94f851ae1971ad Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Sat, 12 Jan 2013 23:47:49 +0100 Subject: [PATCH] Adjust to recent ObjFW changes. --- src/XMPPSRVLookup.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XMPPSRVLookup.m b/src/XMPPSRVLookup.m index 6c9828c..30725f7 100644 --- a/src/XMPPSRVLookup.m +++ b/src/XMPPSRVLookup.m @@ -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) ||