projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ef2f48
)
[FIX] empty string in sprintf
15/14615/7
author
Nikita Kalyazin
<nkalyazin@gmail.com>
Wed, 1 Jan 2014 19:16:56 +0000
(23:16 +0400)
committer
Nikita Kalyazin
<nkalyazin@gmail.com>
Sat, 18 Jan 2014 10:59:40 +0000
(14:59 +0400)
Change-Id: I040875d53be7414cde44cac913e0610547827313
Signed-off-by: Nikita Kalyazin <nkalyazin@gmail.com>
daemon/da_protocol.c
patch
|
blob
|
history
diff --git
a/daemon/da_protocol.c
b/daemon/da_protocol.c
index
7604805
..
44fb4dd
100644
(file)
--- a/
daemon/da_protocol.c
+++ b/
daemon/da_protocol.c
@@
-1037,7
+1037,7
@@
static int process_msg_get_screenshot(struct msg_buf_t *msg_control)
// send config message to target process
sendlog.type = MSG_CAPTURE_SCREEN;
- sendlog.length =
sprintf(sendlog.data, "")
;
+ sendlog.length =
0
;
log_len = sizeof(sendlog.type) + sizeof(sendlog.length) + sendlog.length;
for (target_index = 0; target_index < MAX_TARGET_COUNT; target_index++) {