mirror of
https://github.com/curl/curl.git
synced 2026-07-24 13:47:15 +03:00
CURLOPT_UPLOAD: Corrected argument type
This commit is contained in:
parent
6273b23a05
commit
f9b80cded7
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ CURLOPT_UPLOAD \- enable data upload
|
|||
.SH SYNOPSIS
|
||||
#include <curl/curl.h>
|
||||
|
||||
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UPLOAD, bool upload);
|
||||
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UPLOAD, long upload);
|
||||
.SH DESCRIPTION
|
||||
The long parameter \fIupload\fP set to 1 tells the library to prepare for and
|
||||
perform an upload. The \fICURLOPT_READDATA(3)\fP and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue