From: Andy Green Date: Fri, 8 Feb 2013 12:10:03 +0000 (+0800) Subject: handshake bail3 should be bail X-Git-Tag: accepted/2.0/20130307.220733~128 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fcc06748e1d69d45a1af7fe1b994ad50bcb9ba2;p=profile%2Fivi%2Flibwebsockets.git handshake bail3 should be bail Reported-by: Jack Mitchell Signed-off-by: Andy Green --- diff --git a/lib/handshake.c b/lib/handshake.c index 8b5d9ea..2ac7e76 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);