Modify incorrect return value in policy engine
authorleechul <chuls.lee@samsung.com>
Wed, 23 Mar 2016 01:39:28 +0000 (10:39 +0900)
committerRandeep Singh <randeep.s@samsung.com>
Wed, 23 Mar 2016 03:04:28 +0000 (03:04 +0000)
Change-Id: I8f46cafe1898a44e71dd39e8457178819c396154
Signed-off-by: leechul <chuls.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6187
Reviewed-by: Kyungsun Cho <goodsun.cho@samsung.com>
Reviewed-by: Jongsung Lee <js126.lee@samsung.com>
Reviewed-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/src/policyengine.c

index d0cddc1..c7faf10 100644 (file)
@@ -112,7 +112,7 @@ static bool IsRequestFromDevOwner(PEContext_t *context)
 
     if(NULL == context)
     {
-        return OC_STACK_ERROR;
+        return retVal;
     }
 
     if(OC_STACK_OK == GetDoxmDevOwnerId(&owner))