diff options
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r-- | src/tool_operate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index cefd6ccbf..0387e9dcf 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -1520,7 +1520,7 @@ static CURLcode operate_do(struct GlobalConfig *global, fflush(outs.stream); /* truncate file at the position where we started appending */ #ifdef HAVE_FTRUNCATE - if(ftruncate( fileno(outs.stream), outs.init)) { + if(ftruncate(fileno(outs.stream), outs.init)) { /* when truncate fails, we can't just append as then we'll create something strange, bail out */ if(!global->mute) |