projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df5a9f6
)
Fix wording, thanks wwp
author
Colin Leroy
<colin@colino.net>
Wed, 10 Oct 2018 08:37:23 +0000
(10:37 +0200)
committer
Colin Leroy
<colin@colino.net>
Wed, 10 Oct 2018 08:37:23 +0000
(10:37 +0200)
src/common/file-utils.c
patch
|
blob
|
history
diff --git
a/src/common/file-utils.c
b/src/common/file-utils.c
index 392821ef3aeb568a4a8cd55b7542e972de309835..97f1f50d6e087ecb5464491ddf54a1de4e3f48fe 100644
(file)
--- a/
src/common/file-utils.c
+++ b/
src/common/file-utils.c
@@
-834,7
+834,7
@@
FILE *my_tmpfile(void)
* precise length isn't known, it is possible to ask for more.
*
* In this case, once writing to the pointer is done, the
- * caller is responsible
to call
ftruncate(fileno(fp), ftell(fp))
+ * caller is responsible
for calling
ftruncate(fileno(fp), ftell(fp))
* to make sure re-reading the stream will return EOF at the
* end of what we wrote.
* Otherwise, re-reading the stream will return uninitialized