diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-05-31 11:56:28 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-05-31 11:56:53 +0200 |
commit | 4600362a5af3970bbaef545af1d7a6cf90201127 (patch) | |
tree | 7061ec58c114e0e6c504c8f0fa22042ce94d60ea /docs/libcurl/opts/CURLOPT_PORT.3 | |
parent | 69a6cc2e135fbecc5fd21a1bc8cf4d8dfe0dc030 (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.3 | 3 |
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 |