CURLOPT_UPLOAD: Corrected argument type
authorSteve Holme <steve_holme@hotmail.com>
Thu, 10 Jul 2014 21:30:30 +0000 (22:30 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 10 Jul 2014 21:30:43 +0000 (22:30 +0100)
docs/libcurl/opts/CURLOPT_UPLOAD.3

index df99aa6..8d81590 100644 (file)
@@ -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