Fixed mismatched message type when the error response is sent
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Thu, 22 Dec 2016 01:38:56 +0000 (10:38 +0900)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Fri, 30 Dec 2016 13:54:33 +0000 (13:54 +0000)
commitd82a245cd1b6673edeaa4aae3fc204300e6da2b9
tree61d50b784eb3046c14fc8de3dec15f75c16d30fc
parent1e5d79bf7da9ef976c08e1b8e5c73ce5598a852b
Fixed mismatched message type when the error response is sent

If the request message is Confirmable, then the response SHOULD be
returned in an Acknowledgement message.

Change-Id: Ifc8bca205d10147b0cd9b867d90f610d57a92024
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15883
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/csdk/stack/src/ocstack.c