comparison libpurple/protocols/yahoo/libymsg.c @ 27599:a9eb6dbbba1b

Set the back-reference to the connection from the proto-data.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 13 Jul 2009 02:28:34 +0000
parents f92d37b363c6
children a12574d982a1
comparison
equal deleted inserted replaced
27598:37741237d146 27599:a9eb6dbbba1b
3409 3409
3410 purple_connection_update_progress(gc, _("Connecting"), 1, 2); 3410 purple_connection_update_progress(gc, _("Connecting"), 1, 2);
3411 3411
3412 purple_connection_set_display_name(gc, purple_account_get_username(account)); 3412 purple_connection_set_display_name(gc, purple_account_get_username(account));
3413 3413
3414 yd->gc = gc;
3414 yd->yahoo_local_p2p_server_fd = -1; 3415 yd->yahoo_local_p2p_server_fd = -1;
3415 yd->fd = -1; 3416 yd->fd = -1;
3416 yd->txhandler = 0; 3417 yd->txhandler = 0;
3417 /* TODO: Is there a good grow size for the buffer? */ 3418 /* TODO: Is there a good grow size for the buffer? */
3418 yd->txbuf = purple_circ_buffer_new(0); 3419 yd->txbuf = purple_circ_buffer_new(0);