Fix build error: WITH_MQ 09/22509/3
authorZiran Sun <ziran.sun@samsung.com>
Mon, 18 Sep 2017 15:12:30 +0000 (16:12 +0100)
committerAshok Babu Channa <ashok.channa@samsung.com>
Wed, 27 Sep 2017 09:57:58 +0000 (09:57 +0000)
Bug: https://jira.iotivity.org/browse/IOT-2719
Change-Id: If4249e5cf198fcb1dad4969d2cb7b141adb687b4
Signed-off-by: Ziran Sun <ziran.sun@samsung.com>
resource/src/InProcClientWrapper.cpp

index 7c8d2e4..e21e867 100644 (file)
@@ -613,11 +613,8 @@ namespace OC
 
         try
         {
-            HeaderOptions serverHeaderOptions;
-            parseServerHeaderOptions(clientResponse, serverHeaderOptions);
             ListenOCContainer container(clientWrapper, clientResponse->devAddr,
-                    serverHeaderOptions,
-                    (OCRepPayload *) clientResponse->payload);
+                                        (OCRepPayload *) clientResponse->payload);
 
             // loop to ensure valid construction of all resources
             for (auto resource : container.Resources())