aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-11-13 16:59:09 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-11-13 16:59:09 +0100
commitf322ca77657e6c5197128bc8486e6885c2361f08 (patch)
tree8725603fd490ea93a27f0914ad7905ca2ffd7187 /src
parentfd0c678e216346fd14bcfadcbe7de8eb3ccda051 (diff)
curl: mark two more options strings for --libcurl output
Diffstat (limited to 'src')
-rw-r--r--src/tool_operate.c4
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)