summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryoungman <yman.jung@samsung.com>2016-08-18 15:44:00 +0900
committeryoungman <yman.jung@samsung.com>2016-08-18 17:14:13 +0900
commitc7263806d6ef63a19b5aad1f850b29809f41fa0c (patch)
tree10f2feacf992599237a255a07db33a7d4d9de7e8
parent45ca0db8310173e2577c3e62cabb039c0b3e65ad (diff)
downloadiotcon-c7263806d6ef63a19b5aad1f850b29809f41fa0c.tar.gz
iotcon-c7263806d6ef63a19b5aad1f850b29809f41fa0c.tar.bz2
iotcon-c7263806d6ef63a19b5aad1f850b29809f41fa0c.zip
modify logic of deregister observe
Change-Id: I4903e51e661f8eaa1f000453a58719d2939dd5e7 Signed-off-by: youngman <yman.jung@samsung.com>
-rw-r--r--src/ic-ioty-ocprocess.c3
1 files changed, 0 insertions, 3 deletions
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;