Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

Commit 60e4fbd

Browse files
committed
Update w5x00_tcp_client_over_ssl.c
1 parent 1931e88 commit 60e4fbd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/tcp_client_over_ssl/w5x00_tcp_client_over_ssl.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,14 @@ static int ssl_random_callback(void *p_rng, unsigned char *output, size_t output
276276

277277
static int recv_timeout(void *ctx, unsigned char *buf, size_t len, uint32_t timeout)
278278
{
279-
uint16_t rcv_len = 0;
279+
uint16_t recv_len = 0;
280280
uint32_t start_ms = millis();
281281

282282
do
283283
{
284-
getsockopt((uint8_t)(ctx), SO_RECVBUF, &rcv_len);
284+
getsockopt((uint8_t)(ctx), SO_RECVBUF, &recv_len);
285285

286-
if (rcv_len > 0)
286+
if (recv_len > 0)
287287
{
288288
return recv((uint8_t)ctx, (uint8_t *)buf, (uint16_t)len);
289289
}

0 commit comments

Comments
 (0)