pidgin: 364fe196: Fix functions to match definitions.
datallah at pidgin.im
datallah at pidgin.im
Sun May 11 23:00:43 EDT 2008
-----------------------------------------------------------------
Revision: 364fe196da88a96016eef029b30bc4161d019e01
Ancestor: bbfb5ec4d590b8a19e0232fdd9f729fea6825729
Author: datallah at pidgin.im
Date: 2008-05-12T02:56:24
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/364fe196da88a96016eef029b30bc4161d019e01
Modified files:
libpurple/protocols/oscar/flap_connection.c
libpurple/protocols/oscar/oscar.h
ChangeLog:
Fix functions to match definitions.
-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/flap_connection.c 007f253e6a5a2211fa112d139258b92d523d9431
+++ libpurple/protocols/oscar/flap_connection.c c8ed02f63dc847bd5f6aead10f5b34d51ace6d49
@@ -159,7 +159,7 @@ void
* of this SNAC. For empty SNACs this should be NULL.
*/
void
-flap_connection_send_snac(OscarData *od, FlapConnection *conn, guint16 family, guint16 subtype, guint16 flags, aim_snacid_t snacid, ByteStream *data)
+flap_connection_send_snac(OscarData *od, FlapConnection *conn, guint16 family, const guint16 subtype, guint16 flags, aim_snacid_t snacid, ByteStream *data)
{
FlapFrame *frame;
guint32 length;
============================================================
--- libpurple/protocols/oscar/oscar.h 761414310d610c6a468794a54fd99f52e043d1d3
+++ libpurple/protocols/oscar/oscar.h 4029373a48bd83562f1810ba730699521ae28a1d
@@ -1389,8 +1389,8 @@ char *aim_tlv_getvalue_as_string(aim_tlv
/* TLV handling functions */
char *aim_tlv_getvalue_as_string(aim_tlv_t *tlv);
-aim_tlv_t *aim_tlv_gettlv(GSList *list, guint16 type, const int nth);
-int aim_tlv_getlength(GSList *list, guint16 type, const int nth);
+aim_tlv_t *aim_tlv_gettlv(GSList *list, const guint16 type, const int nth);
+int aim_tlv_getlength(GSList *list, const guint16 type, const int nth);
char *aim_tlv_getstr(GSList *list, const guint16 type, const int nth);
guint8 aim_tlv_get8(GSList *list, const guint16 type, const int nth);
guint16 aim_tlv_get16(GSList *list, const guint16 type, const int nth);
More information about the Commits
mailing list