From c5a3b26728304ea3d4da605fee57e13664b43b68 Mon Sep 17 00:00:00 2001 From: "sung.goo.kim" Date: Mon, 4 Jan 2016 11:44:45 +0900 Subject: Apply iotivity 1.0.1 Change-Id: I480951e65eb14b595f451b0cde21d4d3c0a148f5 --- lib/icl-device.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/icl-device.c b/lib/icl-device.c index 5d2124d..51cd43c 100644 --- a/lib/icl-device.c +++ b/lib/icl-device.c @@ -95,18 +95,15 @@ static void _icl_device_info_cb(GDBusConnection *connection, GVariant *parameters, gpointer user_data) { - char *uri_path; struct icl_device_info info = {0}; icl_device_info_s *cb_container = user_data; iotcon_device_info_cb cb = cb_container->cb; cb_container->found = true; - g_variant_get(parameters, "(&s&s&s&s&s)", &uri_path, &info.device_name, + g_variant_get(parameters, "(&s&s&s&s)", &info.device_name, &info.spec_ver, &info.device_id, &info.data_model_ver); - /* From iotivity, we can get uri_path. But, the value is always "/oic/d". */ - if (cb) cb(&info, IOTCON_ERROR_NONE, cb_container->user_data); } -- cgit v1.2.3