[libscgi] Scan-build: Fix function call (recv) with invalid argument (#3274)

This commit is contained in:
Andrey Volk authored and GitHub committed 2026-11-09 20:42:59 +03:00
1 parent 6383a78dd2
commit 4b4d361267
1 file changed
+1 -1
+1 -1
View File
@@ -657,7 +657,7 @@ SCGI_DECLARE(scgi_status_t) scgi_parse(scgi_socket_t sock, scgi_handle_t *handle
handle->sock = sock;
handle->connected = 1;
sock_setup(handle);
if (sock_setup(handle) != SCGI_SUCCESS) goto end;
for(;;) {