mirror of
https://github.com/curl/curl.git
synced 2026-07-16 01:57:18 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue