To set handle for unsubscribe presence is missed.
Change-Id: Ie98c10d97265e70b2b09d6fef7957e4ecb83e49b
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13917
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Larry Sachs <larry.j.sachs@intel.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
if (method == OC_REST_PRESENCE)
{
OIC_LOG(ERROR, TAG, "AddClientCB for presence done.");
+
+ if (handle)
+ {
+ *handle = resHandle;
+ }
+
goto exit;
}
#endif