mirror of
https://github.com/curl/curl.git
synced 2026-07-08 15:07:16 +03:00
tool: fix CURLOPT_UNIX_SOCKET_PATH in --libcurl output
Mark CURLOPT_UNIX_SOCKET_PATH as string to ensure that it ends up as option in the file generated by --libcurl. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
4fd0add1cd
commit
2e557de094
1 changed files with 2 additions and 1 deletions
|
|
@ -1333,7 +1333,8 @@ static CURLcode operate_do(struct GlobalConfig *global,
|
|||
|
||||
/* new in 7.40.0 */
|
||||
if(config->unix_socket_path)
|
||||
my_setopt(curl, CURLOPT_UNIX_SOCKET_PATH, config->unix_socket_path);
|
||||
my_setopt_str(curl, CURLOPT_UNIX_SOCKET_PATH,
|
||||
config->unix_socket_path);
|
||||
|
||||
/* initialize retry vars for loop below */
|
||||
retry_sleep_default = (config->retry_delay) ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue