projects
/
platform
/
core
/
iot
/
iotcon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dc806e
)
Fix error check for icl_ioty_remove_generated_pin_cb
53/99953/3
author
Jiwon Park
<jiwony.park@samsung.com>
Thu, 24 Nov 2016 12:42:59 +0000
(21:42 +0900)
committer
Jiwon Park
<jiwony.park@samsung.com>
Fri, 25 Nov 2016 04:07:05 +0000
(20:07 -0800)
Change-Id: I2a8a8b860dfabc0e6077e844ee4ed1183baa24da
src/ic-ioty.c
patch
|
blob
|
history
diff --git
a/src/ic-ioty.c
b/src/ic-ioty.c
index
0fce711
..
e5b055e
100644
(file)
--- a/
src/ic-ioty.c
+++ b/
src/ic-ioty.c
@@
-208,7
+208,7
@@
int icl_ioty_remove_generated_pin_cb(iotcon_generated_pin_cb cb)
return IOTCON_ERROR_NO_DATA;
}
- if (1
==
g_list_length(icl_generated_pin_cb_list)) {
+ if (1
>
g_list_length(icl_generated_pin_cb_list)) {
ERR("It is required at least one function");
return IOTCON_ERROR_INVALID_PARAMETER;
}