From 62d254a1b681a2cfc83954a292409471bff584a9 Mon Sep 17 00:00:00 2001 From: "ch79.cho" Date: Thu, 6 Oct 2016 15:21:14 +0900 Subject: [PATCH] Change the property of topic resource The resource property of topic is changed from DISCOVERABLE to NONE. Change-Id: I670dbd26725171b7639061062bdb412e0ace7a81 Signed-off-by: ch79.cho Reviewed-on: https://gerrit.iotivity.org/gerrit/12865 Tested-by: jenkins-iotivity Reviewed-by: Uze Choi --- service/notification/src/provider/NSProviderResource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/notification/src/provider/NSProviderResource.c b/service/notification/src/provider/NSProviderResource.c index 098035f..83eaba4 100644 --- a/service/notification/src/provider/NSProviderResource.c +++ b/service/notification/src/provider/NSProviderResource.c @@ -199,11 +199,11 @@ NSResult NSCreateResource(char *uri) if(NSGetResourceSecurity()) { NS_LOG(DEBUG, "Create secured resource"); - resourceProperties = OC_DISCOVERABLE | OC_SECURE; + resourceProperties = OC_RES_PROP_NONE | OC_SECURE; } else { - resourceProperties = OC_DISCOVERABLE; + resourceProperties = OC_RES_PROP_NONE; } if (OCCreateResource(&(NotificationTopicResource.handle), NS_COLLECTION_TOPIC_TYPE, -- 2.7.4