=== modified file 'protocols/yahoo/yahoo.c'
|
|
|
448 | 448 | void byahoo_connect_callback( gpointer data, gint source, b_input_condition cond ) |
449 | 449 | { |
450 | 450 | 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 )) ) |
453 | 454 | { |
454 | 455 | 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 ); |
455 | 463 | return; |
456 | 464 | } |
457 | 465 | |