[IOT-1615] Correct return type of callback in SubOwnerClient
authorKevin Kane <kkane@microsoft.com>
Fri, 2 Dec 2016 22:02:17 +0000 (14:02 -0800)
committerGreg Zaverucha <gregz@microsoft.com>
Wed, 7 Dec 2016 19:33:22 +0000 (19:33 +0000)
commit86d47d4b65543d286338eb7de21d07b14cd6b2c4
treefe34d67adcdf2c170d37e51b020636e65b6d7415
parent6733dabb19c4bedb59e58b5224438fd9875a94ff
[IOT-1615] Correct return type of callback in SubOwnerClient

Sample only built when MULTIPLE_OWNER=1 has callback that differs in
return type from what's required. Change return type to the required
OCStackApplicationResult and have the callback return OC_STACK_OK.

Bug: https://jira.iotivity.org/browse/IOT-1615
Change-Id: I5f787f64a16f308c182067d20009decd29760730
Signed-off-by: Kevin Kane <kkane@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15109
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
Reviewed-by: Alex Kelley <alexke@microsoft.com>
Reviewed-by: Greg Zaverucha <gregz@microsoft.com>
resource/csdk/security/provisioning/sample/subownerclient.c