Ignore:
Timestamp:
2007-02-18T17:48:04Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
0f4c1bb5
Parents:
8de63c3 (diff), c7d0f41 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging new Jabber module. See the massive changelog for all the cool
improvements. :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.c

    r8de63c3 r0fd8559  
    182182static GList *msn_away_states( struct gaim_connection *gc )
    183183{
    184         GList *l = NULL;
     184        static GList *l = NULL;
    185185        int i;
    186186       
    187         for( i = 0; msn_away_state_list[i].number > -1; i ++ )
    188                 l = g_list_append( l, (void*) msn_away_state_list[i].name );
    189        
    190         return( l );
     187        if( l == NULL )
     188                for( i = 0; msn_away_state_list[i].number > -1; i ++ )
     189                        l = g_list_append( l, (void*) msn_away_state_list[i].name );
     190       
     191        return l;
    191192}
    192193
Note: See TracChangeset for help on using the changeset viewer.