Mercurial > pidgin.yaz
diff libpurple/protocols/msn/sync.c @ 20448:c1ff701bcb0c
Update a couple of instances of group_id handling to cope with the new
string group ids instead of numbers
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 29 May 2007 01:42:47 +0000 |
parents | 4a099e4d0d09 |
children | 4403cecc7cd6 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/sync.c Mon May 28 16:12:25 2007 +0000 +++ b/libpurple/protocols/msn/sync.c Tue May 29 01:42:47 2007 +0000 @@ -145,10 +145,10 @@ for (c = tokens; *c != NULL; c++) { - int id; + char *id; - id = atoi(*c); - group_ids = g_slist_append(group_ids, GINT_TO_POINTER(id)); + id = *c; + group_ids = g_slist_append(group_ids, g_strdup(id)); } g_strfreev(tokens);