Ignore:
Timestamp:
2010-08-07T16:33:02Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
7b87539
Parents:
289bd2d
Message:

OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen <dam@…>
with some changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/message.c

    r289bd2d rdaae10f  
    5959                        {
    6060                                room = from;
    61                                 from = xt_find_attr( inv, "from" ) ? : from;
     61                                if( ( from = xt_find_attr( inv, "from" ) ) == NULL )
     62                                        from = room;
    6263
    6364                                g_string_append_printf( fullmsg, "<< \002BitlBee\002 - Invitation to chatroom %s >>\n", room );
     
    7273                        {
    7374                                bud->last_msg = time( NULL );
    74                                 from = bud->ext_jid ? : bud->bare_jid;
     75                                from = bud->ext_jid ? bud->ext_jid : bud->bare_jid;
    7576                        }
    7677                        else
Note: See TracChangeset for help on using the changeset viewer.