Ticket #135: yahoo-fix.patch

File yahoo-fix.patch, 541 bytes (added by darkk, at 2007-02-18T21:27:08Z)

works-for-me fix

  • protocols/yahoo/yahoo.c

    === modified file 'protocols/yahoo/yahoo.c'
     
    448448void byahoo_connect_callback( gpointer data, gint source, b_input_condition cond )
    449449{
    450450        struct byahoo_connect_callback_data *d = data;
    451        
    452         if( !byahoo_get_gc_by_id( d->id ) )
     451        struct gaim_connection *gc;
     452       
     453        if( !(gc = byahoo_get_gc_by_id( d->id )) )
    453454        {
    454455                g_free( d );
     456                return;
     457        }
     458       
     459        if( source == -1 )
     460        {
     461                hide_login_progress( gc, "Could not connect to server" );
     462                signoff( gc );
    455463                return;
    456464        }
    457465