Copy all items of CBOR string array
authorSakthivel Samidurai <sakthivel.samidurai@intel.com>
Thu, 30 Jul 2015 14:21:24 +0000 (07:21 -0700)
committerErich Keane <erich.keane@intel.com>
Thu, 30 Jul 2015 16:14:46 +0000 (16:14 +0000)
commit195694cb869ffc193e808b418bf73e5c4f1c239a
tree2017afd710f7e12e334efdcaf143a1a8b7d9f916
parenta1a7a51042e54cda97a23ac1b9c2a6e3a50bd872
Copy all items of CBOR string array

CBOR String array is coping only the first item.
Fix OCREP_PROP_STRING for string array to copy all items by
calling cbor_value_advance.

Change-Id: I1ea80e94cf21f746188af81dd946c474d8b00ba4
Signed-off-by: Sakthivel Samidurai <sakthivel.samidurai@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1990
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/stack/src/ocpayloadparse.c