Mercurial > pidgin.yaz
changeset 9060:0293ed13c770
[gaim-migrate @ 9836]
Compile warning/possible bugfix from Stu
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 25 May 2004 14:54:54 +0000 |
parents | 665657341a80 |
children | 710302dae4e6 |
files | src/protocols/silc/buddy.c |
diffstat | 1 files changed, 11 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/silc/buddy.c Tue May 25 04:28:54 2004 +0000 +++ b/src/protocols/silc/buddy.c Tue May 25 14:54:54 2004 +0000 @@ -24,7 +24,11 @@ /***************************** Key Agreement *********************************/ static void -silcgaim_buddy_keyagr(GaimConnection *gc, const char *name); +silcgaim_buddy_keyagr(GaimBlistNode *node, gpointer data); + +static void +silcgaim_buddy_keyagr_do(GaimConnection *gc, const char *name, + gboolean force_local); typedef struct { char *nick; @@ -52,7 +56,7 @@ return; } - silcgaim_buddy_keyagr(gc, r->nick); + silcgaim_buddy_keyagr_do(gc, r->nick, FALSE); silc_free(r->nick); silc_free(r); } @@ -305,9 +309,12 @@ } static void -silcgaim_buddy_keyagr(GaimConnection *gc, const char *name) +silcgaim_buddy_keyagr(GaimBlistNode *node, gpointer data) { - silcgaim_buddy_keyagr_do(gc, name, FALSE); + GaimBuddy *buddy; + + buddy = (GaimBuddy *)node; + silcgaim_buddy_keyagr_do(buddy->account->gc, buddy->name, FALSE); }