diff options
author | nikhil.a <nikhil.a7@samsung.com> | 2016-10-18 16:11:22 +0530 |
---|---|---|
committer | Uze Choi <uzchoi@samsung.com> | 2016-10-19 05:43:51 +0000 |
commit | 3ec01746da1607afe240e8c2aa989db9ec5d339b (patch) | |
tree | cdad7f319bccaa654e9969facedad3f5e5b62cd8 | |
parent | f6069eebcd33ba5da237d3c2611676602a47cebf (diff) | |
download | iotivity-3ec01746da1607afe240e8c2aa989db9ec5d339b.tar.gz iotivity-3ec01746da1607afe240e8c2aa989db9ec5d339b.tar.bz2 iotivity-3ec01746da1607afe240e8c2aa989db9ec5d339b.zip |
fix issue related to wrong messageId
Change-Id: I6008dfe8fc3dc648841f0527e993bd698275f7e4
Signed-off-by: nikhil.a <nikhil.a7@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13385
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit a8e1605955b5f7fdf9ed1b59cfb3eb54c4e6d8ac)
Reviewed-on: https://gerrit.iotivity.org/gerrit/13411
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
-rw-r--r-- | service/notification/src/provider/NSProviderNotification.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/notification/src/provider/NSProviderNotification.c b/service/notification/src/provider/NSProviderNotification.c index 269fe2090..edd84f3b8 100644 --- a/service/notification/src/provider/NSProviderNotification.c +++ b/service/notification/src/provider/NSProviderNotification.c @@ -37,7 +37,7 @@ NSResult NSSetMessagePayload(NSMessage *msg, OCRepPayload** msgPayload) OCRepPayloadSetPropString(*msgPayload, NS_ATTRIBUTE_PROVIDER_ID, msg->providerId); NSDuplicateSetPropertyInt(msgPayload, NS_ATTRIBUTE_TYPE, msg->type); - NSDuplicateSetPropertyInt(msgPayload, NS_ATTRIBUTE_MESSAGE_ID, msg->ttl); + NSDuplicateSetPropertyInt(msgPayload, NS_ATTRIBUTE_TTL, msg->ttl); NSDuplicateSetPropertyString(msgPayload, NS_ATTRIBUTE_DATETIME, msg->dateTime); NSDuplicateSetPropertyString(msgPayload, NS_ATTRIBUTE_TITLE, msg->title); NSDuplicateSetPropertyString(msgPayload, NS_ATTRIBUTE_TEXT, msg->contentText); |