# HG changeset patch # User Daniel Atallah # Date 1210560984 0 # Node ID 277966d1987e1f8a55e997cd06e77d03166dede7 # Parent 7d8c06d88125601ad72e06a6ac19e7b15997d881 Fix functions to match definitions. diff -r 7d8c06d88125 -r 277966d1987e libpurple/protocols/oscar/flap_connection.c --- a/libpurple/protocols/oscar/flap_connection.c Mon May 12 02:55:08 2008 +0000 +++ b/libpurple/protocols/oscar/flap_connection.c Mon May 12 02:56:24 2008 +0000 @@ -159,7 +159,7 @@ * 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; diff -r 7d8c06d88125 -r 277966d1987e libpurple/protocols/oscar/oscar.h --- a/libpurple/protocols/oscar/oscar.h Mon May 12 02:55:08 2008 +0000 +++ b/libpurple/protocols/oscar/oscar.h Mon May 12 02:56:24 2008 +0000 @@ -1389,8 +1389,8 @@ /* 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);