Fix bug for multiple extras of message.
authorKIM JungYong <jyong2.kim@samsung.com>
Tue, 4 Oct 2016 05:06:36 +0000 (14:06 +0900)
committerUze Choi <uzchoi@samsung.com>
Mon, 10 Oct 2016 01:08:03 +0000 (01:08 +0000)
commitd6090e7459aee96d09eee6b819ce1dda8cc78502
treeecae6f7d6f31be80fa71693cec6d2f008a3de09b
parent2e08b0caf7ed1277f5dcc09218da54c03f36ae77
Fix bug for multiple extras of message.

When the receive multiple extras in the message from notification provider,
consuemr service misparse as parsing just one extras for incorrect operation of pointers.
In this patch, incorrect operation of pointers is fixed.

Change-Id: Ifacaf247ca836d81031ffe93b0b72d2b46db65f3
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12745
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit cb699f9e7b6fede0c32c254aa5572e349854ea30)
Reviewed-on: https://gerrit.iotivity.org/gerrit/12901
service/notification/src/consumer/NSConsumerCommunication.c