Changeset 04026d4 for lib


Ignore:
Timestamp:
2006-07-15T17:26:13Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
0aaca60
Parents:
89a1809
Message:

Fixed a broken call to set_get() (CRASH), shut up a compiler warning in
events_glib and now using the right evaluator for acc->"auto_reconnect".

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/events_glib.c

    r89a1809 r04026d4  
    122122gint b_timeout_add(gint timeout, b_event_handler func, gpointer data)
    123123{
    124         gint st = g_timeout_add(timeout, func, data);
     124        /* GSourceFunc and the BitlBee event handler function aren't
     125           really the same, but they're "compatible". ;-) It will do
     126           for now, BitlBee only looks at the "data" argument. */
     127        gint st = g_timeout_add(timeout, (GSourceFunc) func, data);
    125128       
    126129        event_debug( "b_timeout_add( %d, %d, %d ) = %d\n", timeout, func, data, st );
  • lib/events_libevent.c

    r89a1809 r04026d4  
    101101       
    102102        /* Since the called function might cancel this handler already
    103            (which free()s b_ev, we have to remember the ID here. */
     103           (which free()s b_ev), we have to remember the ID here. */
    104104        id = b_ev->id;
    105105       
Note: See TracChangeset for help on using the changeset viewer.