mirror of
https://github.com/curl/curl.git
synced 2024-12-03 06:20:31 +08:00
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();
|
||||
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);
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user