# HG changeset patch # User Nathan Walp # Date 1063212361 0 # Node ID 85daebe9b719b96144e1e58570bb43a608b80fea # Parent 4fc650abb2dde8e1bded188f60f760ab6db3991b [gaim-migrate @ 7346] fix a compiler warning committer: Tailor Script diff -r 4fc650abb2dd -r 85daebe9b719 src/protocols/jabber/jabber.c --- a/src/protocols/jabber/jabber.c Wed Sep 10 15:39:00 2003 +0000 +++ b/src/protocols/jabber/jabber.c Wed Sep 10 16:46:01 2003 +0000 @@ -3466,6 +3466,10 @@ return ret; } +static void jabber_rereq_auth(GaimConnection *gc, const char *who) { + jabber_add_buddy(gc, who, NULL); +} + static GList *jabber_buddy_menu(GaimConnection *gc, const char *who) { GList *m = NULL; struct proto_buddy_menu *pbm; @@ -3512,7 +3516,7 @@ !(jbd->subscription & JABBER_SUB_TO)) { pbm = g_new0(struct proto_buddy_menu, 1); pbm->label = _("Re-request authorization"); - pbm->callback = jabber_add_buddy; + pbm->callback = jabber_rereq_auth; pbm->gc = gc; m = g_list_append(m, pbm); }