Changeset 04026d4


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".

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • account.c

    r89a1809 r04026d4  
    5252        s->flags |= ACC_SET_NOSAVE;
    5353       
    54         s = set_add( &a->set, "auto_reconnect", "true", set_eval_account, a );
     54        s = set_add( &a->set, "auto_reconnect", "true", set_eval_bool, a );
    5555       
    5656        s = set_add( &a->set, "password", NULL, set_eval_account, a );
  • irc.c

    r89a1809 r04026d4  
    624624        char namelist[385] = "";
    625625        struct conversation *c = NULL;
    626         char *ops = set_getstr( irc, "ops" );
     626        char *ops = set_getstr( &irc->set, "ops" );
    627627       
    628628        /* RFCs say there is no error reply allowed on NAMES, so when the
  • 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.