pidgin: 03abb08a: I think we can assume that read() isn't ...
markdoliner at pidgin.im
markdoliner at pidgin.im
Mon Jul 6 05:15:39 EDT 2009
-----------------------------------------------------------------
Revision: 03abb08a3ea6fd140125eeb94b3c7992f217fd6d
Ancestor: f71d5956f2b208a034fa5bbb66b20d64fb6c4aa1
Author: markdoliner at pidgin.im
Date: 2009-07-06T07:26:12
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/03abb08a3ea6fd140125eeb94b3c7992f217fd6d
Modified files:
libpurple/protocols/myspace/myspace.c
ChangeLog:
I think we can assume that read() isn't going to read more than
we tell it to
-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/myspace.c e391d751ad80315a861a6256a0b94b7e3e86168c
+++ libpurple/protocols/myspace/myspace.c fc8b3c2a1eea1e41254621fa5e1912c8d355023c
@@ -2087,15 +2087,6 @@ msim_input_cb(gpointer gc_uncasted, gint
return;
}
- if (n + session->rxoff > session->rxsize) {
- purple_debug_info("msim_input_cb", "received %d bytes, pushing rxoff to %d, over buffer size of %d\n",
- n, n + session->rxoff, session->rxsize);
- purple_connection_error_reason (gc,
- PURPLE_CONNECTION_ERROR_NETWORK_ERROR,
- _("Read buffer full (2)"));
- return;
- }
-
/* Null terminate */
purple_debug_info("msim", "msim_input_cb: going to null terminate "
"at n=%d\n", n);
More information about the Commits
mailing list