Changeset 33dc261


Ignore:
Timestamp:
2007-04-18T02:49:49Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f0cb961
Parents:
9624fdf
Message:

Fixed NULL pointer dereference in Jabber code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/presence.c

    r9624fdf r33dc261  
    7474                /* FIXME: What to send if there are other resources??? */
    7575                imcb_buddy_status( ic, bud->bare_jid, OPT_LOGGED_IN | is_away,
    76                                    bud->away_state->full_name, bud->away_message );
     76                                   ( is_away && bud->away_state ) ? bud->away_state->full_name : NULL,
     77                                   bud->away_message );
    7778        }
    7879        else if( strcmp( type, "unavailable" ) == 0 )
Note: See TracChangeset for help on using the changeset viewer.