projects
/
platform
/
core
/
system
/
sensord.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sensord: allocate buf memory for string attribute
[platform/core/system/sensord.git]
/
src
/
shared
/
command_types.h
diff --git
a/src/shared/command_types.h
b/src/shared/command_types.h
index
34cb5fc
..
d28107d
100644
(file)
--- a/
src/shared/command_types.h
+++ b/
src/shared/command_types.h
@@
-88,7
+88,7
@@
typedef struct {
int listener_id;
int attribute;
int len;
- char
value[0]
;
+ char
*value
;
} cmd_listener_attr_str_t;
typedef struct {