diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-10 02:02:33 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-10 02:02:33 +0100 |
commit | 0078fbcd895c800d05e6c9f4dc0f21d92c30e27b (patch) | |
tree | 92dc33fd2e6bcb10ce018d445e7de6a4181f3c4f | |
parent | 12c2eab4c0bce8ed6f5f31d01811ac2ce710fd0a (diff) | |
download | connman-gnome-0078fbcd895c800d05e6c9f4dc0f21d92c30e27b.tar.gz |
Check also for errors from connection properties
-rw-r--r-- | common/connman-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/connman-dbus.c b/common/connman-dbus.c index 407a53e..fac128b 100644 --- a/common/connman-dbus.c +++ b/common/connman-dbus.c @@ -458,7 +458,7 @@ static void connection_properties(DBusGProxy *proxy, GHashTable *hash, gboolean enabled; GtkTreeIter iter; - if (hash == NULL) + if (error != NULL || hash == NULL) goto done; value = g_hash_table_lookup(hash, "Type"); |