diff --git a/docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md b/docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md index 8024a9a897..bb9bb822e9 100644 --- a/docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md +++ b/docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md @@ -51,7 +51,8 @@ This function may be called multiple times if redirections are enabled and are being followed (see CURLOPT_FOLLOWLOCATION(3)). The callback function must return *CURL_PREREQFUNC_OK* on success, or -*CURL_PREREQFUNC_ABORT* to cause the transfer to fail. +*CURL_PREREQFUNC_ABORT* to cause the transfer to fail with result +*CURLE_ABORTED_BY_CALLBACK*. This function is passed the following arguments: