summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryoungman <yman.jung@samsung.com>2016-08-18 18:27:25 +0900
committeryoungman <yman.jung@samsung.com>2016-08-18 18:27:25 +0900
commit13982b4d9c265a444d59b10a88ae7a93ba9f2353 (patch)
treedfbdebc07e6c5c8da26a8ba3d6ceb86a1db4da21
parentc8d3cfd3d9a4e4dcbc0bacd5beda02278f28f06c (diff)
downloadiotcon-13982b4d9c265a444d59b10a88ae7a93ba9f2353.tar.gz
iotcon-13982b4d9c265a444d59b10a88ae7a93ba9f2353.tar.bz2
iotcon-13982b4d9c265a444d59b10a88ae7a93ba9f2353.zip
Change-Id: If9384547f8cdb699ea6a79e9b00161819e44533c Signed-off-by: youngman <yman.jung@samsung.com>
-rw-r--r--src/ic-ioty-ocprocess.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ic-ioty-ocprocess.c b/src/ic-ioty-ocprocess.c
index f1b15cc..da8cc8d 100644
--- a/src/ic-ioty-ocprocess.c
+++ b/src/ic-ioty-ocprocess.c
@@ -452,7 +452,6 @@ OCStackApplicationResult icl_ioty_ocprocess_observe_cb(void *ctx,
iotcon_representation_h repr;
icl_observe_cb_s *observe_cb_data;
icl_observe_container_s *cb_container = ctx;
- OCStackApplicationResult cb_result;
RETV_IF(NULL == ctx, OC_STACK_KEEP_TRANSACTION);
RETV_IF(NULL == resp, OC_STACK_KEEP_TRANSACTION);
@@ -514,7 +513,7 @@ OCStackApplicationResult icl_ioty_ocprocess_observe_cb(void *ctx,
/* DO NOT FREE ctx(cb_container). It MUST be freed in the ocstack */
/* DO NOT FREE cb_data. It MUST be freed in the idle */
- return cb_result;
+ return OC_STACK_KEEP_TRANSACTION;
}
static gboolean _icl_ioty_ocprocess_crud_idle_cb(gpointer p)