Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuele6 committed Oct 24, 2023
1 parent 575541a commit 6b97042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tool_operate.c
Expand Up @@ -319,7 +319,7 @@ static CURLcode pre_transfer(struct GlobalConfig *global,
}
return CURLE_READ_ERROR;
}
per->infdopen = isstdin;
per->infdopen = !isstdin;

/* we ignore file size for char/block devices, sockets, etc. */
if(S_ISREG(fileinfo.st_mode))
Expand Down

0 comments on commit 6b97042

Please sign in to comment.