soc.2010.msn-tlc: 3939ac2f: Oops, forgot to save before commiting.

masca at cpw.pidgin.im masca at cpw.pidgin.im
Fri Jun 4 21:35:40 EDT 2010


-----------------------------------------------------------------
Revision: 3939ac2f89ed5a58c967517d80e5768c9cfa9ddb
Ancestor: b8daaf2d21e3fa4b0c3672ad4e11eb1916e2ebee
Author: masca at cpw.pidgin.im
Date: 2010-06-04T00:20:00
Branch: im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/3939ac2f89ed5a58c967517d80e5768c9cfa9ddb

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

ChangeLog: 

Oops, forgot to save before commiting.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/p2p.c	324243cc642672bad5aad04302450e93e429d010
+++ libpurple/protocols/msn/p2p.c	7f02940362f6f50e19e6a58661a1300ac2d940c9
@@ -1,5 +1,7 @@
-#include "p2p->h"
+#include "internal.h"
 
+#include "p2p.h"
+
 MsnP2PHeader *
 msn_p2p_header_from_wire(MsnP2PHeader *wire)
 {
@@ -25,7 +27,7 @@ msn_p2p_header_to_wire(MsnP2PHeader *hea
 {
 	MsnP2PHeader *wire;
 	
-	g_new(MsnP2PHeader, 1);
+	wire = g_new(MsnP2PHeader, 1);
 
 	wire->session_id = GUINT32_TO_LE(header->session_id);
 	wire->id         = GUINT32_TO_LE(header->id);
@@ -37,5 +39,7 @@ msn_p2p_header_to_wire(MsnP2PHeader *hea
 	wire->ack_sub_id = GUINT32_TO_LE(header->ack_sub_id);
 	wire->ack_size   = GUINT64_TO_LE(header->ack_size);
 
+	return wire;
+
 }
 


More information about the Commits mailing list