Fix org.freedesktop.DBus.Properties.GetAll
authorMike Gorse <mgorse@novell.com>
Thu, 8 Apr 2010 19:45:27 +0000 (15:45 -0400)
committerMike Gorse <mgorse@novell.com>
Fri, 9 Apr 2010 20:54:35 +0000 (16:54 -0400)
droute/droute-pairhash.c
droute/droute.c

index f3b8da2..c2f2c29 100644 (file)
@@ -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);
       }
 
index e2534e1..24ccea4 100644 (file)
@@ -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 ();