Changeset 8e3890b


Ignore:
Timestamp:
2011-02-24T19:47:50Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
9e9140b
Parents:
79ec314
Message:

Fix memory corruption on Jabber disconnect with xmlconsole and
handle_unknown=add enabled.

Location:
protocols
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee_user.c

    r79ec314 r8e3890b  
    251251        bu = bee_user_by_handle( bee, ic, handle );
    252252       
    253         if( !bu )
     253        if( !bu && !( ic->flags & OPT_LOGGING_OUT ) )
    254254        {
    255255                char *h = set_getstr( &bee->set, "handle_unknown" );
  • protocols/jabber/io.c

    r79ec314 r8e3890b  
    4545        gboolean ret;
    4646       
    47         if( jd->flags & JFLAG_XMLCONSOLE )
     47        if( jd->flags & JFLAG_XMLCONSOLE && !( ic->flags & OPT_LOGGING_OUT ) )
    4848        {
    4949                char *msg, *s;
Note: See TracChangeset for help on using the changeset viewer.