Changeset 8ba511d for protocols/msn


Ignore:
Timestamp:
2006-03-17T15:39:16Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
61dddd0
Parents:
84c1a0a
Message:

Fixed a very stupid bug in the "Closing switchboard with unsent messages"
warning message. There's still another problem with switchboar management
somewhere.. :-(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/sb.c

    r84c1a0a r8ba511d  
    202202        debug( "Destroying switchboard: %s", sb->who ? sb->who : sb->key ? sb->key : "" );
    203203       
    204         if( sb->key ) g_free( sb->key );
    205         if( sb->who ) g_free( sb->who );
    206        
    207204        if( sb->msgq )
    208205        {
     
    222219                serv_got_crap( gc, "Warning: Closing down MSN switchboard connection with "
    223220                                   "unsent message to %s, you'll have to resend it.",
    224                                    m->who ? m->who : "(unknown)" );
    225         }
     221                                   sb->who ? sb->who : "(unknown)" );
     222        }
     223       
     224        if( sb->key ) g_free( sb->key );
     225        if( sb->who ) g_free( sb->who );
    226226       
    227227        if( sb->chat )
Note: See TracChangeset for help on using the changeset viewer.