adium 3624:3bb6e4b74b9d: Always return TRUE after handling a DNS...

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


details:	http://hg.adium.im/adium/rev/3bb6e4b74b9d
revision:	3624:3bb6e4b74b9d
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.

diffs (21 lines):

diff -r 9e75b9179568 -r 3bb6e4b74b9d 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