mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:23:31 +03:00
socks: make Curl_blockread_all return CURLcode
Reported in Joshua's sarif data Closes #18635
This commit is contained in:
parent
ca75476a5c
commit
2a5da01e42
3 changed files with 36 additions and 34 deletions
10
lib/socks.h
10
lib/socks.h
|
|
@ -37,11 +37,11 @@
|
|||
*
|
||||
* This is STUPID BLOCKING behavior
|
||||
*/
|
||||
int Curl_blockread_all(struct Curl_cfilter *cf,
|
||||
struct Curl_easy *data,
|
||||
char *buf,
|
||||
size_t blen,
|
||||
size_t *pnread);
|
||||
CURLcode Curl_blockread_all(struct Curl_cfilter *cf,
|
||||
struct Curl_easy *data,
|
||||
char *buf,
|
||||
size_t blen,
|
||||
size_t *pnread);
|
||||
|
||||
#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue