Changeset 2507

Show
Ignore:
Timestamp:
03/28/05 12:01:28 (4 years ago)
Author:
pat
Message:

Updated SILC Toolkit to current CVS. Bug #95 is fixed now, due to a new setting
"dont_register_crypto_libraries", so that Application (Colloquy) can handle it
itself. Improved silc_say.
Please run Configure.command after updating.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/MVSILCChatConnection.m

    r2496 r2507  
    6060        MVSILCChatConnection *self = conn -> context; 
    6161        if( msg ) { 
    62                 NSString *msgString = [NSString stringWithUTF8String:msg]; 
     62            va_list list; 
     63                va_start( list, msg ); 
     64                 
     65                NSString *tmp = [NSString stringWithUTF8String:msg]; 
     66                NSString *msgString = [[[NSString alloc] initWithFormat:tmp arguments:list] autorelease]; 
     67                va_end( list ); 
     68                 
    6369                NSNotification *rawMessageNote = [NSNotification notificationWithName:MVChatConnectionGotRawMessageNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:msgString, @"message", [NSNumber numberWithBool:NO], @"outbound", nil]]; 
    6470                [[NSNotificationCenter defaultCenter] postNotificationOnMainThread:rawMessageNote]; 
     
    848854                silc_cipher_register_default(); 
    849855                silc_hmac_register_default(); 
    850  
    851856                tooLate = YES; 
    852857        } 
     
    864869 
    865870                memset( &_silcClientParams, 0, sizeof( _silcClientParams ) ); 
     871                _silcClientParams.dont_register_crypto_library = TRUE; 
    866872 
    867873                _silcClientLock = [[NSRecursiveLock alloc] init];