Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/yahoo/yahoo.c

    r5a71d9c rdfbb056  
    163163        g_slist_free( yd->buddygroups );
    164164       
    165         if( yd->logged_in )
    166                 yahoo_logoff( yd->y2_id );
    167         else
    168                 yahoo_close( yd->y2_id );
     165        yahoo_logoff( yd->y2_id );
    169166       
    170167        g_free( yd );
     
    315312        struct byahoo_data *yd = (struct byahoo_data *) c->ic->proto_data;
    316313       
    317         yahoo_conference_invite( yd->y2_id, NULL, c->data, c->title, msg );
     314        yahoo_conference_invite( yd->y2_id, NULL, c->data, c->title, msg ? msg : "" );
    318315}
    319316
     
    354351        struct prpl *ret = g_new0(struct prpl, 1);
    355352        ret->name = "yahoo";
    356     ret->mms = 832;           /* this guess taken from libotr UPGRADING file */
    357353        ret->init = byahoo_init;
    358354       
     
    454450{
    455451        struct byahoo_write_ready_data *d = data;
    456        
    457         if( !byahoo_get_ic_by_id( d->id ) )
    458                 /* WTF doesn't libyahoo clean this up? */
    459                 return FALSE;
    460452       
    461453        yahoo_write_ready( d->id, d->fd, d->data );
     
    798790}
    799791
    800 static void byahoo_accept_conf( gpointer w, struct byahoo_conf_invitation *inv )
    801 {
     792static void byahoo_accept_conf( void *data )
     793{
     794        struct byahoo_conf_invitation *inv = data;
     795       
    802796        yahoo_conference_logon( inv->yid, NULL, inv->members, inv->name );
    803797        imcb_chat_add_buddy( inv->c, inv->ic->acc->user );
     
    806800}
    807801
    808 static void byahoo_reject_conf( gpointer w, struct byahoo_conf_invitation *inv )
    809 {
     802static void byahoo_reject_conf( void *data )
     803{
     804        struct byahoo_conf_invitation *inv = data;
     805       
    810806        yahoo_conference_decline( inv->yid, NULL, inv->members, inv->name, "User rejected groupchat" );
    811807        imcb_chat_free( inv->c );
Note: See TracChangeset for help on using the changeset viewer.