Changeset 4207


Ignore:
Timestamp:
Dec 18, 2007, 9:13:36 PM (14 years ago)
Author:
livings124
Message:

fix typo in last commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PortChecker.m

    r4206 r4207  
    3232    if ((self = [super init]))
    3333    {
     34        fDelegate = delegate;
     35       
    3436        NSURLRequest * portProbeRequest = [NSURLRequest requestWithURL: [NSURL URLWithString:
    3537                [NSString stringWithFormat: @"http://transmission.m0k.org/PortCheck.php?port=%d", portNumber]] cachePolicy:
    36                 [NSApp isOnLeopardOrBetter] ? NSURLRequestReloadIgnoringLocalAndRemoteCacheData : NSURLRequestReloadIgnoringCacheData
     38                [NSApp isOnLeopardOrBetter] ? NSURLRequestReloadIgnoringLocalCacheData : NSURLRequestReloadIgnoringCacheData
    3739                timeoutInterval: 15.0];
    3840       
     
    4042       
    4143        if ((fConnection = [[NSURLConnection alloc] initWithRequest: portProbeRequest delegate: self]))
    42             fPortProbeData = [[NSMutableData data] retain];
     44            fPortProbeData = [[NSMutableData alloc] init];
    4345        else
    4446        {
Note: See TracChangeset for help on using the changeset viewer.