Fix retrieving network list
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Dec 2008 22:32:21 +0000 (23:32 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 12 Dec 2008 22:32:21 +0000 (23:32 +0100)
src/element.c

index f088b59..2a6caf9 100644 (file)
@@ -501,7 +501,7 @@ static DBusMessage *device_get_properties(DBusConnection *conn,
        dbus_message_iter_open_container(&dict, DBUS_TYPE_DICT_ENTRY,
                                                                NULL, &entry);
 
-       append_networks(element, &dict);
+       append_networks(element, &entry);
 
        dbus_message_iter_close_container(&dict, &entry);