Mercurial > pidgin.yaz
diff libpurple/protocols/msn/directconn.c @ 30465:63684aa5d6ab
The length of a DC packet does not include itself.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Wed, 05 May 2010 07:02:05 +0000 |
parents | 87854e2529a0 |
children | 6936ffd13cb9 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/directconn.c Sun Apr 25 23:38:27 2010 +0000 +++ b/libpurple/protocols/msn/directconn.c Wed May 05 07:02:05 2010 +0000 @@ -95,7 +95,7 @@ MsnDirectConnPacket *p; p = g_new0(MsnDirectConnPacket, 1); - p->length = length + 4; + p->length = length; p->data = g_malloc(length); return p;