curl: mark two more options strings for --libcurl output
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Nov 2015 15:59:09 +0000 (16:59 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Nov 2015 15:59:09 +0000 (16:59 +0100)
src/tool_operate.c

index 31304d460e06310350a5887c6daa21e49115d935..b84b54c39af433927da8b67036b2caa72a2bb5b7 100644 (file)
@@ -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)