adium-1.4 3329:b38438052fe1: Always return TRUE after handling a...

commits at adium.im commits at adium.im
Tue Jan 18 21:04:37 UTC 2011


details:	http://hg.adium.im/adium-1.4/rev/b38438052fe1
revision:	3329:b38438052fe1
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Tue Jan 18 22:01:45 2011 +0100

Always return TRUE after handling a DNS lookup, so libpurple doesn't fall back to forking.
(transplanted from 3bb6e4b74b9d69f629a28f530588b02ff0b77e8a)

diffs (21 lines):

diff -r 8d4bbcf725f2 -r b38438052fe1 Plugins/Purple Service/adiumPurpleDnsRequest.m
--- a/Plugins/Purple Service/adiumPurpleDnsRequest.m	Mon Jan 17 18:43:25 2011 -0500
+++ b/Plugins/Purple Service/adiumPurpleDnsRequest.m	Tue Jan 18 22:01:45 2011 +0100
@@ -190,7 +190,7 @@
 
 	if (!success) {
 		[self lookupFailedWithError:NULL];
-		return FALSE;
+		return TRUE;
 	}
 
 	CFHostScheduleWithRunLoop(host, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode);
@@ -199,7 +199,7 @@
 	if (!success)
 		[self lookupFailedWithError:&streamError];
 	
-	return success;
+	return TRUE;
 }
 
 




More information about the commits mailing list