Mercurial > pidgin
diff src/buddy.c @ 318:35796808896a
[gaim-migrate @ 328]
This is the way it's *SUPPOSED* to be done.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 02 Jun 2000 18:59:27 +0000 |
parents | 7b06ba09ffe2 |
children | 9d258a0aa560 |
line wrap: on
line diff
--- a/src/buddy.c Fri Jun 02 18:23:54 2000 +0000 +++ b/src/buddy.c Fri Jun 02 18:59:27 2000 +0000 @@ -898,7 +898,9 @@ struct group *add_group(char *group) { - struct group *g; + struct group *g = find_group(group); + if (g) + return g; g = (struct group *)g_new0(struct group, 1); if (!g) return NULL;