From: youngman Date: Thu, 18 Aug 2016 06:44:00 +0000 (+0900) Subject: modify logic of deregister observe X-Git-Tag: accepted/tizen/common/20160818.144653~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7263806d6ef63a19b5aad1f850b29809f41fa0c;p=platform%2Fcore%2Fiot%2Fiotcon.git modify logic of deregister observe Change-Id: I4903e51e661f8eaa1f000453a58719d2939dd5e7 Signed-off-by: youngman --- diff --git a/src/ic-ioty-ocprocess.c b/src/ic-ioty-ocprocess.c index 1f586e8..f1b15cc 100644 --- a/src/ic-ioty-ocprocess.c +++ b/src/ic-ioty-ocprocess.c @@ -462,9 +462,6 @@ OCStackApplicationResult icl_ioty_ocprocess_observe_cb(void *ctx, return OC_STACK_KEEP_TRANSACTION; } - cb_result = (OC_OBSERVE_DEREGISTER == resp->sequenceNumber) ? - OC_STACK_DELETE_TRANSACTION : OC_STACK_KEEP_TRANSACTION; - if (NULL == resp->payload) { ERR("payload is empty(%d)", resp->result); return OC_STACK_KEEP_TRANSACTION;