libtest/lib2311: remove "extra" fclose()

Follow-up to 3588df9478

Fixes #16721
Reported-by: Viktor Szakats
Closes #16722
This commit is contained in:
Daniel Stenberg 2025-03-14 12:31:17 +01:00
parent 179c0258f5
commit 052bfd0a2d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -56,7 +56,6 @@ static void websocket_frame(CURL *curl, FILE *save, int expected_flags)
if(result == CURLE_AGAIN)
/* crude busy-loop */
continue;
fclose(save);
printf("curl_ws_recv returned %d\n", result);
return;
}