diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-03-13 20:44:30 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-03-13 20:44:30 +0000 |
commit | ec31aec6424bd90c822e18600763a196b72b0e9c (patch) | |
tree | e7732446c44f91b07de55abdacf4dcad98c9c0b5 | |
parent | 8afa46e246f1598ebfac26725606823cee2dd0ec (diff) |
Fix device GetProperties.
-rw-r--r-- | hcid/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/device.c b/hcid/device.c index 308b15b1..c0f0ddbc 100644 --- a/hcid/device.c +++ b/hcid/device.c @@ -784,7 +784,7 @@ static DBusHandlerResult get_properties(DBusConnection *conn, /* Name */ create_name(filename, PATH_MAX, STORAGEDIR, adapter->address, "names"); - str = textfile_caseget(filename, device->address); + name = textfile_caseget(filename, device->address); if (name) { dbus_message_iter_append_dict_entry(&dict, "Name", DBUS_TYPE_STRING, &name); |