diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-06-05 22:10:07 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-06-05 22:10:07 +0800 |
commit | 78a59f67de194944fb5c988e100a42e56e9de890 (patch) | |
tree | 582962c7d1067ccf5827c28e8fe8dad883f8658f /src | |
parent | 48236b65f7ac33d05f0bc4a7a83ddec1e9ec59aa (diff) | |
download | gsoc2013-empathy-78a59f67de194944fb5c988e100a42e56e9de890.tar gsoc2013-empathy-78a59f67de194944fb5c988e100a42e56e9de890.tar.gz gsoc2013-empathy-78a59f67de194944fb5c988e100a42e56e9de890.tar.bz2 gsoc2013-empathy-78a59f67de194944fb5c988e100a42e56e9de890.tar.lz gsoc2013-empathy-78a59f67de194944fb5c988e100a42e56e9de890.tar.xz gsoc2013-empathy-78a59f67de194944fb5c988e100a42e56e9de890.tar.zst gsoc2013-empathy-78a59f67de194944fb5c988e100a42e56e9de890.zip |
Use "foo == NULL" instead of "!foo".
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
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"); |