diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2016-07-12 16:52:27 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2016-07-12 16:54:00 +0900 |
commit | f41dd8b32395eea33efd951471a1ae332aba56d5 (patch) | |
tree | 24350694ceab0a00710f5dae7f2dea1c342c04bc | |
parent | 8630f836af3cad3156127b7b1a84b74d0d155dce (diff) | |
download | widget-service-f41dd8b32395eea33efd951471a1ae332aba56d5.tar.gz widget-service-f41dd8b32395eea33efd951471a1ae332aba56d5.tar.bz2 widget-service-f41dd8b32395eea33efd951471a1ae332aba56d5.zip |
Fix wrong return value
Change-Id: Id2dc61c561105be696a2da52521cf9a65bcc287c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | src/widget_instance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget_instance.c b/src/widget_instance.c index 7a3e61e..fd0cbfe 100644 --- a/src/widget_instance.c +++ b/src/widget_instance.c @@ -876,7 +876,7 @@ EAPI int widget_instance_trigger_update_v2(const char *widget_id, bundle_free(kb); - if (ret > 0) + if (ret >= 0) return WIDGET_ERROR_NONE; switch (ret) { |