projects
/
platform
/
core
/
appfw
/
data-provider-master.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3981a86
)
Fix the invalid command type.
author
Sung-jae Park
<nicesj.park@samsung.com>
Tue, 12 May 2015 06:34:45 +0000
(15:34 +0900)
committer
Sung-jae Park
<nicesj.park@samsung.com>
Tue, 12 May 2015 06:34:45 +0000
(15:34 +0900)
master to provider : "CMD_STR_NEW" and "CMD_NEW"
Change-Id: Ibf9ea0bb48158ed5217b902fa0bad97585771a33
src/slave_rpc.c
patch
|
blob
|
history
diff --git
a/src/slave_rpc.c
b/src/slave_rpc.c
index
ac8a389
..
8e95cb7
100644
(file)
--- a/
src/slave_rpc.c
+++ b/
src/slave_rpc.c
@@
-542,12
+542,12
@@
HAPI int slave_rpc_update_handle(struct slave_node *slave, int handle, int delet
int cmd_idx;
cmd_idx = *((int *)cmd);
- if (cmd_idx == CMD_
CREATED
) {
+ if (cmd_idx == CMD_
NEW
) {
destroy_command(command);
} else {
push_command(command);
}
- } else if (!strcmp(cmd, CMD_STR_
CREATED
)) {
+ } else if (!strcmp(cmd, CMD_STR_
NEW
)) {
destroy_command(command);
} else {
push_command(command);