ObjXMPP  Check-in [9d0f61744d]

Overview
Comment:Adjust to recent ObjFW changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9d0f61744d641e4e0ffe4863110ed0544650190c7f7eab34aeb2684f9acf34a1
User & Date: florob@babelmonkeys.de on 2013-01-12 22:47:49
Other Links: manifest | tags
Context
2013-01-14
20:18
Make XMPPPresence comparable check-in: c06d9a53ff user: florob@babelmonkeys.de tags: trunk
2013-01-12
22:47
Adjust to recent ObjFW changes. check-in: 9d0f61744d user: florob@babelmonkeys.de tags: trunk
2013-01-09
18:32
Remove redundant IDNAToASCII check-in: 9532fc55fb user: florob@babelmonkeys.de tags: trunk
Changes

Modified src/XMPPSRVLookup.m from [3faae45dc8] to [8dac8d7c43].

210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
			@throw [OFAddressTranslationFailedException
			    exceptionWithClass: [self class]
					socket: nil
					  host: domain];

		answer = [self allocMemoryWithSize: pageSize];
		answerLen = res_nsearch(&resState,
		    [request cStringUsingEncoding: OF_STRING_ENCODING_NATIVE],
		    ns_c_in, ns_t_srv, answer, (int)pageSize);

		if ((answerLen == -1) && ((h_errno == HOST_NOT_FOUND) ||
		    (h_errno == NO_DATA)))
			return;

		if (answerLen < 1 || answerLen > pageSize) {







|







210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
			@throw [OFAddressTranslationFailedException
			    exceptionWithClass: [self class]
					socket: nil
					  host: domain];

		answer = [self allocMemoryWithSize: pageSize];
		answerLen = res_nsearch(&resState,
		    [request cStringWithEncoding: OF_STRING_ENCODING_NATIVE],
		    ns_c_in, ns_t_srv, answer, (int)pageSize);

		if ((answerLen == -1) && ((h_errno == HOST_NOT_FOUND) ||
		    (h_errno == NO_DATA)))
			return;

		if (answerLen < 1 || answerLen > pageSize) {