diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-11-13 16:59:09 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-11-13 16:59:09 +0100 |
commit | f322ca77657e6c5197128bc8486e6885c2361f08 (patch) | |
tree | 8725603fd490ea93a27f0914ad7905ca2ffd7187 | |
parent | fd0c678e216346fd14bcfadcbe7de8eb3ccda051 (diff) |
curl: mark two more options strings for --libcurl output
-rw-r--r-- | src/tool_operate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 31304d460..b84b54c39 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -889,7 +889,7 @@ static CURLcode operate_do(struct GlobalConfig *global, (long)CURLAUTH_BASIC); /* new in libcurl 7.19.4 */ - my_setopt(curl, CURLOPT_NOPROXY, config->noproxy); + my_setopt_str(curl, CURLOPT_NOPROXY, config->noproxy); } #endif @@ -906,7 +906,7 @@ static CURLcode operate_do(struct GlobalConfig *global, my_setopt_enum(curl, CURLOPT_NETRC, (long)CURL_NETRC_IGNORED); if(config->netrc_file) - my_setopt(curl, CURLOPT_NETRC_FILE, config->netrc_file); + my_setopt_str(curl, CURLOPT_NETRC_FILE, config->netrc_file); my_setopt(curl, CURLOPT_TRANSFERTEXT, config->use_ascii?1L:0L); if(config->login_options) |