Mercurial > pidgin.yaz
comparison src/protocols/trepia/trepia.c @ 11127:719779387f96
[gaim-migrate @ 13183]
Change the base16 and base64 functions to use better data types,
and make appropriate changes to other parts of the Gaim code
to get rid of a few warnings and hopefully make things more
correct.
In other news, why is CVS HEAD crashing for me on exit?
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 19 Jul 2005 05:15:45 +0000 |
parents | 50224ac8184d |
children | 096020ae09a9 |
comparison
equal
deleted
inserted
replaced
11126:2a3568cbd8a6 | 11127:719779387f96 |
---|---|
849 /* Buddy Icon */ | 849 /* Buddy Icon */ |
850 if ((value = g_hash_table_lookup(info, "q")) != NULL) { | 850 if ((value = g_hash_table_lookup(info, "q")) != NULL) { |
851 char *icon; | 851 char *icon; |
852 int icon_len; | 852 int icon_len; |
853 | 853 |
854 gaim_base64_decode(value, &icon, &icon_len); | 854 icon = gaim_base64_decode(value, &icon_len); |
855 | 855 |
856 gaim_buddy_icons_set_for_user(account, | 856 gaim_buddy_icons_set_for_user(account, |
857 username, icon, icon_len); | 857 username, icon, icon_len); |
858 | 858 |
859 g_free(icon); | 859 g_free(icon); |