Code Review
/
src
/
app-framework-main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ea587a2
)
utils-file: fix bug in writing
author
José Bollo
<jose.bollo@iot.bzh>
Tue, 14 Mar 2017 08:41:41 +0000
(09:41 +0100)
committer
José Bollo
<jose.bollo@iot.bzh>
Tue, 14 Mar 2017 09:21:05 +0000
(10:21 +0100)
Change-Id: I7da9ee72992cba4c49c0d1286a38674d3f7ed4bc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/utils-file.c
patch
|
blob
|
history
diff --git
a/src/utils-file.c
b/src/utils-file.c
index
09eaaed
..
d871723
100644
(file)
--- a/
src/utils-file.c
+++ b/
src/utils-file.c
@@
-110,7
+110,6
@@
int putfile_at(int dfd, const char *file, const void *content, size_t size)
if (size == (size_t)(ssize_t)-1)
size = strlen(content);
f = rc;
- if (rc < 0)
i = 0;
rc = 0;
while (!rc && i < size) {