aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_PORT.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-05-31 11:56:28 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-31 11:56:53 +0200
commit4600362a5af3970bbaef545af1d7a6cf90201127 (patch)
tree7061ec58c114e0e6c504c8f0fa22042ce94d60ea /docs/libcurl/opts/CURLOPT_PORT.3
parent69a6cc2e135fbecc5fd21a1bc8cf4d8dfe0dc030 (diff)
opts: more than 100 more examples for man pages...
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