Changeset 3715

Show
Ignore:
Timestamp:
08/19/07 15:51:12 (1 year ago)
Author:
timothy
Message:

Fixes IRC connections on Leopard.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Chat Core/MVIRCChatConnection.m

    r3666 r3715  
    563563        pool = nil; 
    564564 
    565         BOOL active = YES; 
    566         while( active && ( _status == MVChatConnectionConnectedStatus || _status == MVChatConnectionConnectingStatus || [_chatConnection isConnected] ) ) { 
     565        while( _status == MVChatConnectionConnectedStatus || _status == MVChatConnectionConnectingStatus || [_chatConnection isConnected] ) { 
    567566                pool = [[NSAutoreleasePool allocWithZone:nil] init]; 
    568                 active = [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:5.]]; 
     567                [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:5.]]; 
    569568                if( [pool respondsToSelector:@selector( drain )] ) 
    570569                        [pool drain];