projects
/
sdk
/
tools
/
sdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1063b92
)
Fixed a bug where garbage characters follow pull/push error message
author
shingil.kang
<shingil.kang@samsung.com>
Wed, 27 Apr 2016 09:24:32 +0000
(18:24 +0900)
committer
shingil.kang
<shingil.kang@samsung.com>
Fri, 29 Apr 2016 07:52:42 +0000
(16:52 +0900)
Change-Id: Ia90610c467b4a175500f5a264670d905b15fd412
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
src/file_sync_functions.c
patch
|
blob
|
history
diff --git
a/src/file_sync_functions.c
b/src/file_sync_functions.c
index 858ce1a3f6635f07b6f1765904b917025eefeb88..e0da35f3bef8f7013c1a1f2ded17ad308ecb5e10 100644
(file)
--- a/
src/file_sync_functions.c
+++ b/
src/file_sync_functions.c
@@
-322,7
+322,7
@@
int writeclose_remote(int fd, char* dstp, struct stat* st) {
}
if(msg.status.id != sync_okay) {
- char buf[256];
+ char buf[256]
= {0, }
;
if(msg.status.id == sync_fail) {
int len = ltohl(msg.status.msglen);
if(len > 255) {