Changeset 5048

Show
Ignore:
Timestamp:
11/10/07 21:34:08 (1 year ago)
Author:
morris
Message:

Remove surrounding whitespace from IP

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredServer/trunk/WCConfigController.m

    r4496 r5048  
    818818        NSString        *ip; 
    819819         
    820         ip = [NSString stringWithContentsOfURL: 
    821                 [NSURL URLWithString:@"http://www.zankasoftware.com/wired/ip.pl"]]; 
     820        ip = [[NSString stringWithContentsOfURL:[NSURL URLWithString:@"http://www.zankasoftware.com/wired/ip.pl"]] 
     821                  stringByRemovingSurroundingWhitespace]; 
    822822         
    823823        if(!ip)