ObjFW  Check-in [0e1d2f7b84]

Overview
Comment:Make GCC happy again
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0e1d2f7b84668b9aadaae3f46b998a1f92d49aad1045927a4354fdaf6ac28d94
User & Date: js on 2019-10-07 01:20:10
Other Links: manifest | tags
Context
2019-10-07
20:32
Split OFDNSResolverDelegate into two delegates check-in: e3c911c7f5 user: js tags: trunk
01:20
Make GCC happy again check-in: 0e1d2f7b84 user: js tags: trunk
00:23
Fix of_socket_address_parse_ipv6() check-in: d98af41d84 user: js tags: trunk
Changes

Modified src/OFDNSResolver.m from [4b225df12f] to [ae60f26781].

875
876
877
878
879
880
881

882
883
884
885
886
887
888
889
890
891
892

	[context->_cancelTimer invalidate];
	[context->_cancelTimer release];
	context->_cancelTimer = nil;
	[_queries removeObjectForKey: ID];

	@try {

		bool tryNextNameServer = false;
		const unsigned char *queryDataBuffer;
		size_t i;
		of_dns_resolver_error_t error;
		uint16_t numQuestions, numAnswers, numAuthorityRecords;
		uint16_t numAdditionalRecords;

		if (length < 12)
			@throw [OFTruncatedDataException exception];

		if (context->_queryData.itemSize != 1 ||







>



<







875
876
877
878
879
880
881
882
883
884
885

886
887
888
889
890
891
892

	[context->_cancelTimer invalidate];
	[context->_cancelTimer release];
	context->_cancelTimer = nil;
	[_queries removeObjectForKey: ID];

	@try {
		of_dns_resolver_error_t error = 0;
		bool tryNextNameServer = false;
		const unsigned char *queryDataBuffer;
		size_t i;

		uint16_t numQuestions, numAnswers, numAuthorityRecords;
		uint16_t numAdditionalRecords;

		if (length < 12)
			@throw [OFTruncatedDataException exception];

		if (context->_queryData.itemSize != 1 ||