summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpr.jung <pr.jung@samsung.com>2016-11-23 18:34:39 +0900
committerpr.jung <pr.jung@samsung.com>2016-11-23 18:34:39 +0900
commite58f655d330c963f504187dff455eebd0305c62b (patch)
treeff4b504f18c86b8bf255552e51a94e81175df0de
parent19991dc18b5fec2155707dcf326d0d9847786cba (diff)
downloadlibsvi-e58f655d330c963f504187dff455eebd0305c62b.tar.gz
libsvi-e58f655d330c963f504187dff455eebd0305c62b.tar.bz2
libsvi-e58f655d330c963f504187dff455eebd0305c62b.zip
Change-Id: Id3f5520c276fe03f9f4fb7902f69c59c8bf8d4bf Signed-off-by: pr.jung <pr.jung@samsung.com>
-rw-r--r--src/dbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus.c b/src/dbus.c
index 6e61a28..0121f50 100644
--- a/src/dbus.c
+++ b/src/dbus.c
@@ -102,9 +102,10 @@ static GVariant *append_g_variant(const char *sig, char *param[])
g_variant_builder_add(&builder, "s", param[i]);
break;
case 'a':
- ++i, ++ch;
+ ++ch;
switch (*ch) {
case 'y':
+ ++i;
bytes = (struct dbus_byte *)param[i];
g_variant_builder_add(&builder, "@ay",
g_variant_new_from_data(G_VARIANT_TYPE("ay"),