Correct wrong settings on format. 71/22571/3
authorZiran Sun <ziran.sun@samsung.com>
Fri, 22 Sep 2017 11:36:30 +0000 (12:36 +0100)
committerZiran Sun <ziran.sun@samsung.com>
Wed, 27 Sep 2017 09:38:18 +0000 (09:38 +0000)
Bug: https://jira.iotivity.org/browse/IOT-2667
Change-Id: Icde3607a38559598d91902c57d159b6784fecea1
Signed-off-by: Ziran Sun <ziran.sun@samsung.com>
resource/csdk/stack/src/ocserverrequest.c

index 953f8a1..dcb73c8 100644 (file)
@@ -626,7 +626,7 @@ OCStackResult HandleSingleResponse(OCEntityHandlerResponse * ehResponse)
                 else
                 {
                     payloadFormat = CA_FORMAT_UNSUPPORTED;
-                    IsPayloadFormatSet = true;
+                    IsPayloadFormatSet = false;
                     OIC_LOG_V(DEBUG, TAG, "option has an unsupported format");
                 }
             }