Changes in / [debc281:6e68a52]


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/events_glib.c

    rdebc281 r6e68a52  
    4848typedef struct _GaimIOClosure {
    4949        b_event_handler function;
    50         guint result;
    5150        gpointer data;
    5251} GaimIOClosure;
     
    101100        GIOChannel *channel;
    102101        GIOCondition cond = 0;
     102        int st;
    103103       
    104104        closure->function = function;
     
    111111       
    112112        channel = g_io_channel_unix_new(source);
    113         closure->result = g_io_add_watch_full(channel, G_PRIORITY_DEFAULT, cond,
    114                                               gaim_io_invoke, closure, gaim_io_destroy);
     113        st = g_io_add_watch_full(channel, G_PRIORITY_DEFAULT, cond,
     114                                 gaim_io_invoke, closure, gaim_io_destroy);
    115115       
    116         event_debug( "b_input_add( %d, %d, 0x%x, 0x%x ) = %d (0x%x)\n", source, condition, function, data, closure->result, closure );
     116        event_debug( "b_input_add( %d, %d, 0x%x, 0x%x ) = %d (%p)\n", source, condition, function, data, st, closure );
    117117       
    118118        g_io_channel_unref(channel);
    119         return closure->result;
     119        return st;
    120120}
    121121
  • protocols/msn/sb.c

    rdebc281 r6e68a52  
    491491                }
    492492        }
     493        else if( strcmp( cmd[0], "NAK" ) == 0 )
     494        {
     495                if( sb->who )
     496                {
     497                        imcb_log( ic, "The MSN servers could not deliver one of your messages to %s.", sb->who );
     498                }
     499                else
     500                {
     501                        imcb_log( ic, "The MSN servers could not deliver one of your groupchat messages to all participants." );
     502                }
     503        }
    493504        else if( strcmp( cmd[0], "BYE" ) == 0 )
    494505        {
Note: See TracChangeset for help on using the changeset viewer.