checksrc fix

This commit is contained in:
11soda11 2026-07-29 00:29:55 +02:00
parent 8266ff2354
commit bc1999e217

View file

@ -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");