Mercurial > pidgin
diff src/dialogs.c @ 4918:553d96cb9b26
[gaim-migrate @ 5252]
You guys missed an awesome commit message, but CVS lost it. Sorry.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Mon, 31 Mar 2003 08:54:09 +0000 |
| parents | d9b6b5ae34e4 |
| children | e96261d0dba8 |
line wrap: on
line diff
--- a/src/dialogs.c Mon Mar 31 07:51:01 2003 +0000 +++ b/src/dialogs.c Mon Mar 31 08:54:09 2003 +0000 @@ -419,14 +419,15 @@ void do_remove_buddy(struct buddy *b) { - struct group *g = gaim_find_buddys_group(b); + struct group *g; struct gaim_conversation *c; - gchar *name = g_strdup(b->name); /* b->name is null after remove_buddy */ + gchar *name; if (!b) return; g = gaim_find_buddys_group(b); + name = g_strdup(b->name); /* b->name is null after remove_buddy */ debug_printf(_("Removing '%s' from buddy list.\n"), b->name); serv_remove_buddy(b->account->gc, name, g->name);
