1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

patch to PortChecker to make it more reusable

This commit is contained in:
Mitchell Livingston 2006-11-19 15:37:57 +00:00
parent ee59c4b02b
commit dfbb245d05
3 changed files with 3 additions and 4 deletions

View file

@ -31,9 +31,10 @@
<integer>3</integer>
<key>IBOpenObjects</key>
<array>
<integer>29</integer>
<integer>1848</integer>
<integer>29</integer>
<integer>21</integer>
<integer>589</integer>
</array>
<key>IBSystem Version</key>
<string>8L127</string>

Binary file not shown.

View file

@ -23,8 +23,6 @@
*****************************************************************************/
#import "PortChecker.h"
#import "transmission.h"
#import "PrefsController.h"
@implementation PortChecker
@ -64,7 +62,7 @@
fStatus = status;
if (fDelegate && [fDelegate respondsToSelector: @selector(portCheckerDidFinishProbing:)])
[fDelegate portCheckerDidFinishProbing: self];
[fDelegate performSelectorOnMainThread: @selector(portCheckerDidFinishProbing:) withObject: self waitUntilDone: NO];
}
#pragma mark NSURLConnection delegate methods