Changeset aea8b68 for protocols/jabber


Ignore:
Timestamp:
2010-05-06T00:28:56Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f1a0890
Parents:
9438323
Message:

Starting to restore chatroom stuff. Only enough to create and be joined
into a room. More will follow soon.

Location:
protocols/jabber
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/conference.c

    r9438323 raea8b68  
    9292{
    9393        char *normalized = jabber_normalize( name );
     94        GSList *l;
    9495        struct groupchat *ret;
    9596        struct jabber_chat *jc;
    9697       
    97         for( ret = ic->groupchats; ret; ret = ret->next )
    98         {
     98        for( l = ic->groupchats; l; l = l->next )
     99        {
     100                ret = l->data;
    99101                jc = ret->data;
    100102                if( strcmp( normalized, jc->name ) == 0 )
  • protocols/jabber/jabber.c

    r9438323 raea8b68  
    282282       
    283283        while( ic->groupchats )
    284                 jabber_chat_free( ic->groupchats );
     284                jabber_chat_free( ic->groupchats->data );
    285285       
    286286        if( jd->r_inpa >= 0 )
  • protocols/jabber/presence.c

    r9438323 raea8b68  
    206206        struct xt_node *node, *cap;
    207207        struct groupchat *c;
     208        GSList *l;
    208209        int st;
    209210       
     
    229230        /* Have to send this update to all groupchats too, the server won't
    230231           do this automatically. */
    231         for( c = ic->groupchats; c && st; c = c->next )
    232         {
     232        for( l = ic->groupchats; l && st; l = l->next )
     233        {
     234                struct groupchat *c = l->data;
    233235                struct jabber_chat *jc = c->data;
    234236               
Note: See TracChangeset for help on using the changeset viewer.