im.pidgin.pidgin: 111659964eabcb60dd83e3598df42b5d4b788a90
datallah at pidgin.im
datallah at pidgin.im
Sat Oct 13 13:45:52 EDT 2007
-----------------------------------------------------------------
Revision: 111659964eabcb60dd83e3598df42b5d4b788a90
Ancestor: 99cf68a5d3604fa8f1e05918e5b370a6a4991cd1
Author: datallah at pidgin.im
Date: 2007-10-13T17:37:55
Branch: im.pidgin.pidgin
Modified files:
libpurple/protocols/bonjour/buddy.c
libpurple/protocols/bonjour/buddy.h
ChangeLog:
Use glib guint32 type instead of uint32_t. Fixes #3511.
-------------- next part --------------
============================================================
--- libpurple/protocols/bonjour/buddy.c 016bf76cefd030d72c070e3d1848de2156950a93
+++ libpurple/protocols/bonjour/buddy.c 9c6a665becc68873fddb59ebdc6d45038066f5cf
@@ -62,9 +62,11 @@ void
}
void
-set_bonjour_buddy_value(BonjourBuddy* buddy, const char *record_key, const char *value, uint32_t len){
+set_bonjour_buddy_value(BonjourBuddy* buddy, const char *record_key, const char *value, guint32 len){
gchar **fld = NULL;
+ g_return_if_fail(record_key != NULL);
+
if (!strcmp(record_key, "1st"))
fld = &buddy->first;
else if(!strcmp(record_key, "email"))
============================================================
--- libpurple/protocols/bonjour/buddy.h 0dc69fe0eae5d513bd017b7a96733385684699f9
+++ libpurple/protocols/bonjour/buddy.h 085ae98d1521773a6534498ceb1afefb66057ba2
@@ -83,7 +83,7 @@ void clear_bonjour_buddy_values(BonjourB
/**
* Sets a value in the BonjourBuddy struct, destroying the old value
*/
-void set_bonjour_buddy_value(BonjourBuddy *buddy, const char *record_key, const char *value, uint32_t len);
+void set_bonjour_buddy_value(BonjourBuddy *buddy, const char *record_key, const char *value, guint32 len);
/**
* Check if all the compulsory buddy data is present.
More information about the Commits
mailing list