changeset 22919:277966d1987e

Fix functions to match definitions.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 12 May 2008 02:56:24 +0000
parents 7d8c06d88125
children 5913a8477237 abb17e7e2e98
files libpurple/protocols/oscar/flap_connection.c libpurple/protocols/oscar/oscar.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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);