daemon: fixed issue in registring more than one ports by a client.
authorAmarnath Valluri <amarnath.valluri@linux.intel.com>
Thu, 24 Oct 2013 12:04:30 +0000 (15:04 +0300)
committerAmarnath Valluri <amarnath.valluri@linux.intel.com>
Wed, 20 Aug 2014 06:45:09 +0000 (09:45 +0300)
daemon/manager.c

index 1bba44f..1d3a02e 100644 (file)
@@ -171,6 +171,7 @@ msgport_manager_register_service (
         GINT_TO_POINTER (msgport_dbus_service_get_id (dbus_service)),
         (gpointer)dbus_service);
 
+    service_list = g_hash_table_lookup (manager->priv->owner_service_map, owner);
     list_was_empty = (service_list == NULL);
 
    /* append to list of services */