summaryrefslogtreecommitdiff
path: root/droute
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2010-04-08 15:45:27 -0400
committerMike Gorse <mgorse@novell.com>2010-04-09 16:54:35 -0400
commitcd30c52d1ca09b4f637b5838cc68fac478270892 (patch)
tree627eb0e29e2b335aa25c5661dfc81bd87365345d /droute
parentf0fbc54acbfbff2350d7d919572936033c118a85 (diff)
downloadat-spi2-atk-cd30c52d1ca09b4f637b5838cc68fac478270892.tar.gz
Fix org.freedesktop.DBus.Properties.GetAll
Diffstat (limited to 'droute')
-rw-r--r--droute/droute-pairhash.c2
-rw-r--r--droute/droute.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/droute/droute-pairhash.c b/droute/droute-pairhash.c
index f3b8da2..c2f2c29 100644
--- a/droute/droute-pairhash.c
+++ b/droute/droute-pairhash.c
@@ -60,7 +60,7 @@ str_pair_hash (gconstpointer key)
if (*(pair->two) != '\0')
{
hash = *(pair->two);
- hash = str_hash (hash, ++(pair->two));
+ hash = str_hash (hash, pair->two);
hash = str_hash (hash, pair->one);
}
diff --git a/droute/droute.c b/droute/droute.c
index e2534e1..24ccea4 100644
--- a/droute/droute.c
+++ b/droute/droute.c
@@ -286,7 +286,7 @@ impl_prop_GetAll (DBusMessage *message,
(&iter_dict, DBUS_TYPE_DICT_ENTRY, NULL, &iter_dict_entry))
oom ();
dbus_message_iter_append_basic (&iter_dict_entry, DBUS_TYPE_STRING,
- key->two);
+ &key->two);
(value->get) (&iter_dict_entry, datum);
if (!dbus_message_iter_close_container (&iter_dict, &iter_dict_entry))
oom ();