pidgin: d367c4b5: Fixed a mistake I made in 2e791da1 which...

evands at pidgin.im evands at pidgin.im
Mon Apr 28 16:16:14 EDT 2008


-----------------------------------------------------------------
Revision: d367c4b51bfd3fefedc0d0256bbcde2792770344
Ancestor: 71c0372fcb19da34c692c743567a8c5a0c513c79
Author: evands at pidgin.im
Date: 2008-04-28T20:03:40
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d367c4b51bfd3fefedc0d0256bbcde2792770344

Modified files:
        libpurple/protocols/oscar/misc.c

ChangeLog: 

Fixed a mistake I made in 2e791da1 which broke aim_genericreq_l() and
aim_genericreq_s() by not passing their ByteStreams to
flap_connection_send_snac().

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/misc.c	0d5b8718f1cf21b4f2b6f45335c7e00eb6e318da
+++ libpurple/protocols/oscar/misc.c	7ff236da0f73c6312c2eb009065b0359c0dff758
@@ -74,7 +74,7 @@ aim_genericreq_l(OscarData *od, FlapConn
 
 	byte_stream_put32(&bs, *longdata);
 
-	flap_connection_send_snac(od, conn, family, subtype, 0x0000, snacid, NULL);
+	flap_connection_send_snac(od, conn, family, subtype, 0x0000, snacid, &bs);
 
 	byte_stream_destroy(&bs);
 }
@@ -97,7 +97,7 @@ aim_genericreq_s(OscarData *od, FlapConn
 
 	byte_stream_put16(&bs, *shortdata);
 
-	flap_connection_send_snac(od, conn, family, subtype, 0x0000, snacid, NULL);
+	flap_connection_send_snac(od, conn, family, subtype, 0x0000, snacid, &bs);
 
 	byte_stream_destroy(&bs);
 }


More information about the Commits mailing list