projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
setting received ttl value by consumer.
[platform/upstream/iotivity.git]
/
service
/
notification
/
src
/
consumer
/
NSConsumerCommon.c
diff --git
a/service/notification/src/consumer/NSConsumerCommon.c
b/service/notification/src/consumer/NSConsumerCommon.c
index
7d32bd4
..
a790c4b
100644
(file)
--- a/
service/notification/src/consumer/NSConsumerCommon.c
+++ b/
service/notification/src/consumer/NSConsumerCommon.c
@@
-264,6
+264,7
@@
NSMessage * NSCopyMessage(NSMessage * msg)
newMsg->sourceName = OICStrdup(msg->sourceName);
newMsg->dateTime = OICStrdup(msg->dateTime);
newMsg->type = msg->type;
+ newMsg->ttl= msg->ttl;
newMsg->topic = NULL;
if (msg->topic && strlen(msg->topic) > 0)