summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatien Garnier <donatien.garnier@appnearme.com>2014-10-12 20:26:58 +0100
committerDonatien Garnier <donatien.garnier@appnearme.com>2014-10-12 20:26:58 +0100
commitcf9522dd613f5209ce1e49a66d098c90f31af91a (patch)
tree081d52a9154e3edfdc7135b3fe5aaae42ae4cba3
parent33b54a55032b047fd885a5eb3592c169c0056c49 (diff)
downloadneardal-cf9522dd613f5209ce1e49a66d098c90f31af91a.tar.gz
neardal-cf9522dd613f5209ce1e49a66d098c90f31af91a.tar.bz2
neardal-cf9522dd613f5209ce1e49a66d098c90f31af91a.zip
Fixed index issue in neardal_adp_properties_get()
-rw-r--r--lib/neardal_adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/neardal_adapter.c b/lib/neardal_adapter.c
index 836ea21..82a80e7 100644
--- a/lib/neardal_adapter.c
+++ b/lib/neardal_adapter.c
@@ -378,7 +378,7 @@ static GVariant *neardal_adp_properties_get(char *name)
if (!path)
return NULL;
- tmp = g_variant_get_child_value(path, i);
+ tmp = g_variant_get_child_value(path, 1);
g_variant_unref(path);
g_variant_iter_init(&iter, tmp);