Changeset 63770b4 for protocols/jabber


Ignore:
Timestamp:
2010-03-07T18:32:31Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
0e99548
Parents:
68198e9
Message:

Changed formatting of Jabber buddy info response.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    r68198e9 r63770b4  
    366366        while( bud )
    367367        {
    368                 imcb_log( ic, "Buddy %s (%d) information:\nAway state: %s\nAway message: %s",
    369                                    bud->full_jid, bud->priority,
    370                                    bud->away_state ? bud->away_state->full_name : "(none)",
    371                                    bud->away_message ? : "(none)" );
     368                imcb_log( ic, "Buddy %s (%d) information:", bud->full_jid, bud->priority );
     369                if( bud->away_state )
     370                        imcb_log( ic, "Away state: %s", bud->away_state->full_name );
     371                imcb_log( ic, "Status message: %s", bud->away_message ? : "(none)" );
     372               
    372373                bud = bud->next;
    373374        }
Note: See TracChangeset for help on using the changeset viewer.