projects
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tidying: coverity fixes
[exim.git]
/
src
/
src
/
transports
/
appendfile.c
diff --git
a/src/src/transports/appendfile.c
b/src/src/transports/appendfile.c
index 760e9603921204b89bdb45b2f4ecd173e8363caf..da5d8aa0a8670127264e062a078f4863c264969f 100644
(file)
--- a/
src/src/transports/appendfile.c
+++ b/
src/src/transports/appendfile.c
@@
-949,7
+949,7
@@
used = Ustrlen(deliver_out_buffer);
/* Rewind the temporary file, and copy it over in chunks. */
-
lseek(from_fd, 0 , SEEK_SET)
;
+
if (lseek(from_fd, 0 , SEEK_SET) < 0) return DEFER
;
while (size > 0)
{