]> granicus.if.org Git - curl/commitdiff
curl_easy_setopt.3: Fixed SEEKDATA & CLOSESOCKETDATA descriptions
authorDan Fandrich <dan@coneharvesters.com>
Wed, 25 Jan 2012 05:31:57 +0000 (21:31 -0800)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 25 Jan 2012 05:31:57 +0000 (21:31 -0800)
docs/libcurl/curl_easy_setopt.3

index 1a20cb9d6171f456ff3bd552842b8b02caa90e90..d94a84b78630fed0ce340ed33b001663c44da27b 100644 (file)
@@ -266,7 +266,7 @@ If you forward the input arguments directly to "fseek" or "lseek", note that
 the data type for \fIoffset\fP is not the same as defined for curl_off_t on
 many systems! (Option added in 7.18.0)
 .IP CURLOPT_SEEKDATA
-Data pointer to pass to the file read function. If you use the
+Data pointer to pass to the file seek function. If you use the
 \fICURLOPT_SEEKFUNCTION\fP option, this is the pointer you'll get as input. If
 you don't specify a seek callback, NULL is passed. (Option added in 7.18.0)
 .IP CURLOPT_SOCKOPTFUNCTION
@@ -322,7 +322,7 @@ to the \fICURLOPT_OPENSOCKETFUNCTION\fP option. Return 0 to signal success and
 1 if there was an error.  (Option added in 7.21.7)
 .IP CURLOPT_CLOSESOCKETDATA
 Pass a pointer that will be untouched by libcurl and passed as the first
-argument in the opensocket callback set with
+argument in the closesocket callback set with
 \fICURLOPT_CLOSESOCKETFUNCTION\fP.  (Option added in 7.21.7)
 .IP CURLOPT_PROGRESSFUNCTION
 Function pointer that should match the \fIcurl_progress_callback\fP prototype