1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +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> <integer>3</integer>
<key>IBOpenObjects</key> <key>IBOpenObjects</key>
<array> <array>
<integer>29</integer>
<integer>1848</integer> <integer>1848</integer>
<integer>29</integer>
<integer>21</integer> <integer>21</integer>
<integer>589</integer>
</array> </array>
<key>IBSystem Version</key> <key>IBSystem Version</key>
<string>8L127</string> <string>8L127</string>

Binary file not shown.

View file

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