From 770a83bc7d7f02028c6908c391c33cb5398087bd Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 31 Jan 2018 11:31:12 -0600 Subject: [PATCH] graphics/vnc: Correct a typo introduced in last large set of changes --- graphics/vnc/server/vnc_receiver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/vnc/server/vnc_receiver.c b/graphics/vnc/server/vnc_receiver.c index 82a7fbb421..35633f9d14 100644 --- a/graphics/vnc/server/vnc_receiver.c +++ b/graphics/vnc/server/vnc_receiver.c @@ -105,7 +105,7 @@ int vnc_read_remainder(FAR struct vnc_session_s *session, size_t msglen, if (nrecvd < 0) { gerr("ERROR: Receive message failed: %d\n", (int)nrecvd); - return (int)recvd; + return (int)nrecvd; } }