Add success of 'OC_STACK_RESOURCE_CHANGED' return code. 91/9391/2
authorJaehong Jo <jaehong.jo@samsung.com>
Thu, 14 Jul 2016 10:36:23 +0000 (19:36 +0900)
committerJon A. Cruz <jon@joncruz.org>
Thu, 14 Jul 2016 20:47:08 +0000 (20:47 +0000)
Refer to https://gerrit.iotivity.org/gerrit/#/c/9287/

Change-Id: I65682364bcf91b40e28a31006993e9d8dc90e7af
Signed-off-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9391
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
resource/csdk/stack/src/ocstack.c

index 2b7a8fe..569fd52 100644 (file)
@@ -4628,6 +4628,7 @@ bool OCResultToSuccess(OCStackResult ocResult)
         case OC_STACK_RESOURCE_CREATED:
         case OC_STACK_RESOURCE_DELETED:
         case OC_STACK_CONTINUE:
+        case OC_STACK_RESOURCE_CHANGED:
             return true;
         default:
             return false;