Mercurial > pidgin.yaz
diff src/protocols/gg/gg.c @ 4520:4fe661860577
[gaim-migrate @ 4798]
No! Bad! Don't declare vars in the middle of a block :)
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 04 Feb 2003 20:30:17 +0000 |
parents | 2ad2f5caeb81 |
children | cbdc0fc5c3c6 |
line wrap: on
line diff
--- a/src/protocols/gg/gg.c Tue Feb 04 19:06:58 2003 +0000 +++ b/src/protocols/gg/gg.c Tue Feb 04 20:30:17 2003 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 4794 2003-02-04 15:46:05Z faceprint $ + * $Id: gg.c 4798 2003-02-04 20:30:17Z chipx86 $ * * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> * @@ -779,12 +779,13 @@ /* Parse array of Buddies List */ for (i = 0; users_tbl[i] != NULL; i++) { + gchar **data_tbl; + gchar *name, *show; + if (strlen(users_tbl[i])==0) { debug_printf("import_buddies_server_results: users_tbl[i] is empty\n"); break; } - gchar **data_tbl; - gchar *name, *show; g_strdelimit(users_tbl[i], "\r\t\n\015", ' '); data_tbl = g_strsplit(users_tbl[i], ";", 8);