summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils-file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/utils-file.c b/src/utils-file.c
index 09eaaed..d871723 100644
--- 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) {