Revision: 17632
http://svn.sourceforge.net/gaim/?rev=17632&view=rev
Author: boler
Date: 2006-10-30 16:37:34 -0800 (Mon, 30 Oct 2006)
Log Message:
-----------
Fixes https://launchpad.net/bugs/68240 (I can't import list of gadu-gadu).
Modified Paths:
--------------
trunk/libgaim/protocols/gg/buddylist.c
Modified: trunk/libgaim/protocols/gg/buddylist.c
===================================================================
--- trunk/libgaim/protocols/gg/buddylist.c 2006-10-30 22:45:28 UTC (rev 17631)
+++ trunk/libgaim/protocols/gg/buddylist.c 2006-10-31 00:37:34 UTC (rev 17632)
@@ -106,7 +106,17 @@
show = charset_convert(data_tbl[3], "CP1250", "UTF-8");
name = data_tbl[6];
+ if (NULL == name || '\0' == *name) {
+ gaim_debug_warning("gg",
+ "Something is wrong on line %d of the buddylist. Skipping.\n",
+ i + 1);
+ continue;
+ }
+ if (NULL == show || '\0' == *show) {
+ show = g_strdup(name);
+ }
+
gaim_debug_info("gg", "got buddy: name=%s show=%s\n", name, show);
if (gaim_find_buddy(gaim_connection_get_account(gc), name)) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|