curl_easy_pause.md: use correct defines in example
Spotted-by: Harry Sintonen Closes #13664
This commit is contained in:
parent
77ac610d08
commit
76dba79028
@ -105,7 +105,7 @@ int main(void)
|
|||||||
CURL *curl = curl_easy_init();
|
CURL *curl = curl_easy_init();
|
||||||
if(curl) {
|
if(curl) {
|
||||||
/* pause a transfer in both directions */
|
/* pause a transfer in both directions */
|
||||||
curl_easy_pause(curl, CURL_READFUNC_PAUSE | CURL_WRITEFUNC_PAUSE);
|
curl_easy_pause(curl, CURLPAUSE_RECV | CURLPAUSE_SEND);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user