pidgin: 9891ce76: The length of a DC packet does not inclu...

qulogic at pidgin.im qulogic at pidgin.im
Fri May 21 18:04:01 EDT 2010


-----------------------------------------------------------------
Revision: 9891ce761ca29551e7f392f0dd4e2b291cdf917b
Ancestor: 4016e0a0b27852849091502dfa7a4cdb77107fc8
Author: qulogic at pidgin.im
Date: 2010-05-05T07:02:05
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9891ce761ca29551e7f392f0dd4e2b291cdf917b

Modified files:
        libpurple/protocols/msn/directconn.c

ChangeLog: 

The length of a DC packet does not include itself.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/directconn.c	89c577ace7b1457416d3ff9eaca374ca6b0557bd
+++ libpurple/protocols/msn/directconn.c	d0a677794aaedadd3921bf99597cb306f1241665
@@ -95,7 +95,7 @@ msn_dc_new_packet(guint32 length)
 	MsnDirectConnPacket	*p;
 
 	p = g_new0(MsnDirectConnPacket, 1);
-	p->length = length + 4;
+	p->length = length;
 	p->data = g_malloc(length);
 
 	return p;


More information about the Commits mailing list