comparison libpurple/protocols/yahoo/yahoo_packet.c @ 32819:2c6510167895 default tip

propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24) to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 02 Jun 2012 02:30:49 +0000
parents a5b556ac1de5
children
comparison
equal deleted inserted replaced
32818:01ff09d4a463 32819:2c6510167895
300 300
301 if (ret < 0 && errno == EAGAIN) 301 if (ret < 0 && errno == EAGAIN)
302 return; 302 return;
303 else if (ret < 0) { 303 else if (ret < 0) {
304 /* TODO: what to do here - do we really have to disconnect? */ 304 /* TODO: what to do here - do we really have to disconnect? */
305 purple_connection_error_reason(yd->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, 305 purple_connection_error(yd->gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
306 _("Write Error")); 306 _("Write Error"));
307 return; 307 return;
308 } 308 }
309 309
310 purple_circ_buffer_mark_read(yd->txbuf, ret); 310 purple_circ_buffer_mark_read(yd->txbuf, ret);