Changeset daae10f for protocols/jabber/jabber.c
- Timestamp:
- 2010-08-07T16:33:02Z (14 years ago)
- Branches:
- master
- Children:
- 7b87539
- Parents:
- 289bd2d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
r289bd2d rdaae10f 381 381 if( bud->away_state ) 382 382 imcb_log( ic, "Away state: %s", bud->away_state->full_name ); 383 imcb_log( ic, "Status message: %s", bud->away_message ? : "(none)" );383 imcb_log( ic, "Status message: %s", bud->away_message ? bud->away_message : "(none)" ); 384 384 385 385 bud = bud->next; … … 395 395 /* state_txt == NULL -> Not away. 396 396 Unknown state -> fall back to the first defined away state. */ 397 jd->away_state = state_txt ? jabber_away_state_by_name( state_txt ) 398 ? : jabber_away_state_list : NULL; 397 if( state_txt == NULL ) 398 jd->away_state = NULL; 399 else if( ( jd->away_state = jabber_away_state_by_name( state_txt ) ) == NULL ) 400 jd->away_state = jabber_away_state_list; 399 401 400 402 g_free( jd->away_message );
Note: See TracChangeset
for help on using the changeset viewer.