Commit 2e557de0 authored by Peter Wu's avatar Peter Wu Committed by Daniel Stenberg
Browse files

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: default avatarPeter Wu <peter@lekensteyn.nl>
parent 4fd0add1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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) ?