handshake bail3 should be bail
authorAndy Green <andy.green@linaro.org>
Fri, 8 Feb 2013 12:10:03 +0000 (20:10 +0800)
committerAndy Green <andy.green@linaro.org>
Fri, 8 Feb 2013 12:10:03 +0000 (20:10 +0800)
Reported-by: Jack Mitchell <ml@communistcode.co.uk>
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/handshake.c

index 8b5d9ea..2ac7e76 100644 (file)
@@ -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);