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
@ -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…
Reference in New Issue
Block a user