diff options
author | pr.jung <pr.jung@samsung.com> | 2016-11-23 18:34:39 +0900 |
---|---|---|
committer | pr.jung <pr.jung@samsung.com> | 2016-11-23 18:34:39 +0900 |
commit | e58f655d330c963f504187dff455eebd0305c62b (patch) | |
tree | ff4b504f18c86b8bf255552e51a94e81175df0de | |
parent | 19991dc18b5fec2155707dcf326d0d9847786cba (diff) | |
download | libsvi-e58f655d330c963f504187dff455eebd0305c62b.tar.gz libsvi-e58f655d330c963f504187dff455eebd0305c62b.tar.bz2 libsvi-e58f655d330c963f504187dff455eebd0305c62b.zip |
Fix indexing for append_g_variantsubmit/tizen_3.0/20161130.101437accepted/tizen/3.0/wearable/20161201.031456accepted/tizen/3.0/tv/20161201.031432accepted/tizen/3.0/mobile/20161201.031342accepted/tizen/3.0/ivi/20161201.031519accepted/tizen/3.0/common/20161201.135126
Change-Id: Id3f5520c276fe03f9f4fb7902f69c59c8bf8d4bf
Signed-off-by: pr.jung <pr.jung@samsung.com>
-rw-r--r-- | src/dbus.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"), |