Bug about parsing queryparam is fixed
authorjaesick.shin <jaesick.shin@samsung.com>
Fri, 17 Jun 2016 05:30:33 +0000 (14:30 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 17 Jun 2016 09:27:52 +0000 (09:27 +0000)
commitd425a2e8c8d7de6add6597d10fdd635247ff8728
treebf99f21ec3f6b89ee9183590e4329f0e6500bb67
parentd5243537633f13ee80c7088d0e748df76222273b
Bug about parsing queryparam is fixed

notification service is using queryparam.
RI does not support parsing queryparam without interface and uri.
so, i already added function getValueFromquery.
this function is copy of RI Function(ExtractFiltersFromQuery) and then modified.
but, strtok_r function disappear tokenized string after performing from original string.
then, I duplicate string when the getValueFromQuery function is called.

Change-Id: I9c4b5a8d8e5e8dac8f65a9f5b875a0a7e1b7d723
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8743
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/notification/src/common/NSUtil.c
service/notification/src/provider/NSProviderInterface.c
service/notification/src/provider/NSProviderNotification.c
service/notification/src/provider/NSProviderSubscription.c