From 0480f6420ccd5b654835db009bbd2be46bc28e88 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 8 Feb 2013 20:10:03 +0800 Subject: [PATCH] handshake bail3 should be bail Reported-by: Jack Mitchell Signed-off-by: Andy Green --- lib/handshake.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/handshake.c b/lib/handshake.c index 8b5d9ea4..2ac7e768 100644 --- a/lib/handshake.c +++ b/lib/handshake.c @@ -225,9 +225,9 @@ libwebsocket_read(struct libwebsocket_context *context, wsi->u.ws.rx_user_buffer = malloc(n); if (!wsi->u.ws.rx_user_buffer) { lwsl_err("Out of Mem allocating rx buffer %d\n", n); - goto bail3; + goto bail; } - lwsl_info("Allocating client RX buffer %d\n", n); + lwsl_info("Allocating RX buffer %d\n", n); lwsl_parser("accepted v%02d connection\n", wsi->ietf_spec_revision);