mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Fix video/vnc/vnc_negotiate.c:396:3: error: ‘ret’ undeclared
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -104,10 +104,10 @@ int vnc_negotiate(FAR struct vnc_session_s *session)
|
|||||||
ssize_t nsent;
|
ssize_t nsent;
|
||||||
ssize_t nrecvd;
|
ssize_t nrecvd;
|
||||||
size_t len;
|
size_t len;
|
||||||
|
int ret;
|
||||||
|
|
||||||
#ifdef CONFIG_NET_SOCKOPTS
|
#ifdef CONFIG_NET_SOCKOPTS
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
int ret;
|
|
||||||
|
|
||||||
/* Set a receive timeout so that we don't hang if the client does not
|
/* Set a receive timeout so that we don't hang if the client does not
|
||||||
* respond according to RFB 3.3 protocol.
|
* respond according to RFB 3.3 protocol.
|
||||||
|
|||||||
Reference in New Issue
Block a user