curl_easy_pause.md: use correct defines in example

Spotted-by: Harry Sintonen
Closes #13664
This commit is contained in:
Daniel Stenberg 2024-05-15 16:11:42 +02:00
parent 77ac610d08
commit 76dba79028
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -105,7 +105,7 @@ int main(void)
CURL *curl = curl_easy_init();
if(curl) {
/* pause a transfer in both directions */
curl_easy_pause(curl, CURL_READFUNC_PAUSE | CURL_WRITEFUNC_PAUSE);
curl_easy_pause(curl, CURLPAUSE_RECV | CURLPAUSE_SEND);
}
}