From f154d7ea1b921e1b987f2ec9e253677675dd6f9d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 16 Apr 2016 17:48:15 -0600 Subject: [PATCH] Trivial update to some comments --- graphics/vnc/server/vnc_negotiate.c | 2 +- graphics/vnc/server/vnc_server.c | 5 +++++ graphics/vnc/server/vnc_server.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/graphics/vnc/server/vnc_negotiate.c b/graphics/vnc/server/vnc_negotiate.c index 8cf7515d79..dc87247210 100644 --- a/graphics/vnc/server/vnc_negotiate.c +++ b/graphics/vnc/server/vnc_negotiate.c @@ -69,7 +69,7 @@ static const char g_vncproto[] = RFB_PROTOCOL_VERSION_3p8; * Name: vnc_negotiate * * Description: - * Perform the VNC initialize sequency after a client has sucessfully + * Perform the VNC initialization sequence after the client has sucessfully * connected to the server. Negotiate security, framebuffer and color * properties. * diff --git a/graphics/vnc/server/vnc_server.c b/graphics/vnc/server/vnc_server.c index 9e02130173..ac1c4e6d5d 100644 --- a/graphics/vnc/server/vnc_server.c +++ b/graphics/vnc/server/vnc_server.c @@ -120,6 +120,11 @@ int vnc_server(int argc, FAR char *argv[]) { gvdbg("New VNC connection\n"); + /* Perform the VNC initialization sequence after the client has + * sucessfully connected to the server. Negotiate security, + * framebuffer and color properties. + */ + ret = vnc_negotiate(session); if (ret < 0) { diff --git a/graphics/vnc/server/vnc_server.h b/graphics/vnc/server/vnc_server.h index 21b15711f6..17dee09406 100644 --- a/graphics/vnc/server/vnc_server.h +++ b/graphics/vnc/server/vnc_server.h @@ -254,7 +254,7 @@ void vnc_release_session(FAR struct vnc_session_s *session); * Name: vnc_negotiate * * Description: - * Perform the VNC initialize sequency after a client has sucessfully + * Perform the VNC initialization sequence after the client has sucessfully * connected to the server. Negotiate security, framebuffer and color * properties. *