fix busted debug format in ssl mode 74/3074/1
authorAndy Green <andy.green@linaro.org>
Mon, 11 Feb 2013 12:10:56 +0000 (20:10 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:34 +0000 (13:01 -0800)
CyaSSL blows (symptomless?) uninitialized memory accesses in
valgrind when using SSL_get_version()... don't need to do it...

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/server.c

index c560661..e0f46c3 100644 (file)
@@ -361,9 +361,7 @@ int lws_server_socket_service(struct libwebsocket_context *context,
 
                wsi->mode = LWS_CONNMODE_HTTP_SERVING;
 
-               lwsl_debug(
-                       "accepted new SSL conn  port %u on fd=%d SSL ver %s\n",
-                       ntohs(cli_addr.sin_port), SSL_get_version(wsi->ssl));
+               lwsl_debug("accepted new SSL conn\n");
                break;
 #endif