Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Enforce numeric application IDs
[src/app-framework-main.git]
/
src
/
utils-file.c
diff --git
a/src/utils-file.c
b/src/utils-file.c
index
09eaaed
..
b49a778
100644
(file)
--- a/
src/utils-file.c
+++ b/
src/utils-file.c
@@
-1,5
+1,5
@@
/*
/*
- Copyright
2017
IoT.bzh
+ Copyright
(C) 2017-2019
IoT.bzh
author: José Bollo <jose.bollo@iot.bzh>
author: José Bollo <jose.bollo@iot.bzh>
@@
-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 (size == (size_t)(ssize_t)-1)
size = strlen(content);
f = rc;
- if (rc < 0)
i = 0;
rc = 0;
while (!rc && i < size) {
i = 0;
rc = 0;
while (!rc && i < size) {