From 9cd0d15e0f6b5ec620977846d2dae8bd6dd1f201 Mon Sep 17 00:00:00 2001 From: "hyuna0213.jo" Date: Tue, 25 Oct 2016 19:59:33 +0900 Subject: [PATCH] Remove not required OCStopMulticastServer() function call in RD this is required but it is being moved to app layer, as it is conflicting with the local and cloud scenarios. It would require update to the local rd sample to call this function instead. Also OCStopMulticastServer has to be made available to the application developer, right now it is just a C API. Change-Id: I7a51c29b7bc88416df81966f9d98898bc2b3ab08 Signed-off-by: hyuna0213.jo Reviewed-on: https://gerrit.iotivity.org/gerrit/13743 Reviewed-by: Uze Choi Tested-by: jenkins-iotivity Reviewed-by: Jaehong Jo Reviewed-by: Jihun Ha Reviewed-by: Habib Virji --- resource/csdk/resource-directory/src/rd_client.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/resource/csdk/resource-directory/src/rd_client.c b/resource/csdk/resource-directory/src/rd_client.c index eb2ac3b..7107649 100644 --- a/resource/csdk/resource-directory/src/rd_client.c +++ b/resource/csdk/resource-directory/src/rd_client.c @@ -195,14 +195,6 @@ OCStackResult OCRDPublishWithDeviceId(const char *host, const unsigned char *id, OCRepPayloadSetPropObjectArray(rdPayload, OC_RSRVD_LINKS, linkArr, dimensions); OIC_LOG_PAYLOAD(DEBUG, (OCPayload *) rdPayload); - if (OC_STACK_OK == OCStopMulticastServer()) - { - OIC_LOG_V(DEBUG, TAG, "Stopped receiving the multicast traffic."); - } - else - { - OIC_LOG_V(DEBUG, TAG, "Failed stopping the multicast traffic."); - } return OCDoResource(NULL, OC_REST_POST, targetUri, NULL, (OCPayload *)rdPayload, connectivityType, qos, cbData, NULL, 0); } -- 2.7.4