Changes in / [6e68a52:debc281]


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/events_glib.c

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

    r6e68a52 rdebc281  
    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         }
    504493        else if( strcmp( cmd[0], "BYE" ) == 0 )
    505494        {
Note: See TracChangeset for help on using the changeset viewer.