projects
/
platform
/
framework
/
web
/
livebox-viewer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
If the box is deleted while creating, and the delete reason is SUCCESS, change it...
[platform/framework/web/livebox-viewer.git]
/
src
/
client.c
diff --git
a/src/client.c
b/src/client.c
index
8866148
..
6d7d011
100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-220,6
+220,9
@@
static struct packet *master_deleted(pid_t pid, int handle, const struct packet
handler->created_cb = NULL;
handler->created_cbdata = NULL;
+ if (reason == LB_STATUS_SUCCESS) {
+ reason = LB_STATUS_ERROR_CANCEL;
+ }
cb(handler, reason, cbdata);
} else if (handler->id) {
if (handler->deleted_cb) {