From: ch79.cho Date: Thu, 6 Oct 2016 06:21:14 +0000 (+0900) Subject: Change the property of topic resource X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=becaf05afa75ac416db96d66c8e128b9ad7f0e6e;p=contrib%2Fiotivity.git 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/12863 Tested-by: jenkins-iotivity Reviewed-by: Uze Choi --- 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,