summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsung.goo.kim <sung.goo.kim@samsung.com>2016-01-04 11:44:45 +0900
committerYoungjae Shin <yj99.shin@samsung.com>2016-01-04 17:46:10 +0900
commitc5a3b26728304ea3d4da605fee57e13664b43b68 (patch)
tree95142c5964f61d4400474b918f209febc348d7df /lib
parent0a9f8d45c7ed04262835219bc58faa47cac78763 (diff)
downloadiotcon-c5a3b26728304ea3d4da605fee57e13664b43b68.tar.gz
iotcon-c5a3b26728304ea3d4da605fee57e13664b43b68.tar.bz2
iotcon-c5a3b26728304ea3d4da605fee57e13664b43b68.zip
Apply iotivity 1.0.1
Change-Id: I480951e65eb14b595f451b0cde21d4d3c0a148f5
Diffstat (limited to 'lib')
-rw-r--r--lib/icl-device.c5
1 files changed, 1 insertions, 4 deletions
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);
}