mirror of
https://github.com/curl/curl.git
synced 2026-08-02 10:30:28 +03:00
checksrc fix
This commit is contained in:
parent
8266ff2354
commit
bc1999e217
1 changed files with 2 additions and 1 deletions
|
|
@ -798,7 +798,8 @@ static int read_auth_val(curl_socket_t sock, uint64_t* buf)
|
|||
size_t nread = 0;
|
||||
|
||||
do {
|
||||
ssize_t ret = sread(sock, (unsigned char*)buf + nread, sizeof(*buf) - nread);
|
||||
ssize_t ret = sread(sock, (unsigned char *)buf + nread,
|
||||
sizeof(*buf) - nread);
|
||||
if(ret <= 0) {
|
||||
if(!ret)
|
||||
errorf("stdin relay peer disconnected");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue