]> git.0d.be Git - empathy.git/commitdiff
Use "foo == NULL" instead of "!foo".
authorJonny Lamb <jonny.lamb@collabora.co.uk>
Fri, 5 Jun 2009 14:10:07 +0000 (15:10 +0100)
committerJonny Lamb <jonny.lamb@collabora.co.uk>
Fri, 5 Jun 2009 14:10:07 +0000 (15:10 +0100)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
src/empathy-import-pidgin.c

index 9b48c6883c30cea2e041cc8f21a30e417dd9e810..0baf70a1a1fc712257cf6ee70b243632013d6c4b 100644 (file)
@@ -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");