Skip to content

Commit

Permalink
tool_operate: pass a long as CURLOPT_HEADEROPT argument
Browse files Browse the repository at this point in the history
Closes #10798
  • Loading branch information
bagder committed Mar 22, 2023
1 parent caf92a5 commit c0a9f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tool_operate.c
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ static CURLcode single_transfer(struct GlobalConfig *global,
/* new in libcurl 7.36.0 */
if(config->proxyheaders) {
my_setopt_slist(curl, CURLOPT_PROXYHEADER, config->proxyheaders);
my_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE);
my_setopt(curl, CURLOPT_HEADEROPT, (long)CURLHEADER_SEPARATE);
}

/* new in libcurl 7.5 */
Expand Down

0 comments on commit c0a9f90

Please sign in to comment.