summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_PORT.3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_PORT.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_PORT.33
1 files changed, 0 insertions, 3 deletions
diff --git a/docs/libcurl/opts/CURLOPT_PORT.3 b/docs/libcurl/opts/CURLOPT_PORT.3
index 9f872028a..6c7b9dc82 100644
--- a/docs/libcurl/opts/CURLOPT_PORT.3
+++ b/docs/libcurl/opts/CURLOPT_PORT.3
@@ -46,11 +46,8 @@ Used for all protocols that speak to a port number.
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/foo.bin");
-
curl_easy_setopt(curl, CURLOPT_PORT, 8080L);
-
ret = curl_easy_perform(curl);
-
curl_easy_cleanup(curl);
}
.fi