diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-import-pidgin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-import-pidgin.c b/src/empathy-import-pidgin.c index 9b48c6883..0baf70a1a 100644 --- a/src/empathy-import-pidgin.c +++ b/src/empathy-import-pidgin.c @@ -297,7 +297,8 @@ empathy_import_pidgin_load (void) GValue *server; server = g_hash_table_lookup (data->settings, "server"); - if (!server || EMP_STR_EMPTY (g_value_get_string (server))) + if (server == NULL + || EMP_STR_EMPTY (g_value_get_string (server))) { g_hash_table_remove (data->settings, "port"); g_hash_table_remove (data->settings, "server"); |