mirror of
https://github.com/curl/curl.git
synced 2026-07-16 01:47:16 +03:00
examples/websocket: fix use of uninitialized rlen
Pointed out by ZeroPath Closes #19088
This commit is contained in:
parent
f91be14bfb
commit
f5f4710a26
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ static CURLcode ping(CURL *curl, const char *send_payload)
|
|||
|
||||
static CURLcode recv_pong(CURL *curl, const char *expected_payload)
|
||||
{
|
||||
size_t rlen;
|
||||
size_t rlen = 0;
|
||||
const struct curl_ws_frame *meta;
|
||||
char buffer[256];
|
||||
CURLcode res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue