Changeset 80e9db9 for protocols/jabber


Ignore:
Timestamp:
2007-12-02T23:14:49Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
aaf92a9
Parents:
fc5d06d
Message:

Forgot to return something in jabber_chat_join_failed().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/conference.c

    rfc5d06d r80e9db9  
    7373       
    7474        room = xt_find_attr( orig, "to" );
    75         bud = jabber_buddy_by_jid( ic, room, 0 );
     75        if( ( bud = jabber_buddy_by_jid( ic, room, 0 ) ) )
     76                jabber_chat_free( jabber_chat_by_jid( ic, bud->bare_jid ) );
    7677       
    7778        err = jabber_error_parse( xt_find_node( node->children, "error" ), XMLNS_STANZA_ERROR );
     
    8485        }
    8586       
    86         if( bud )
    87                 jabber_chat_free( jabber_chat_by_jid( ic, bud->bare_jid ) );
     87        return XT_HANDLED;
    8888}
    8989
Note: See TracChangeset for help on using the changeset viewer.