aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-08-08 13:57:52 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-08-08 13:58:58 +0200
commit9b1f8506d92d34fc51763561421b393aaf040d90 (patch)
tree8227db951d7fa718dcbd818a497a8187346afdfb
parent69162a9bf492fea52021e0b8d93454bbf496dedc (diff)
cleanup of unused variables
Change-Id: I895901fb5af2811d79a96aa0baa7981a5c9f9b3a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-ws-client.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/afb-ws-client.c b/src/afb-ws-client.c
index 0faa60f4..f00707c3 100644
--- a/src/afb-ws-client.c
+++ b/src/afb-ws-client.c
@@ -51,14 +51,6 @@ static const char *compkeys[32] = {
"MHiEc+Qc8w/SJ3zMHEM8pA==", "FVCxLBmoil3gY0jSX3aNJ6kR/t4="
};
-static const char websocket_s[] = "websocket";
-static const char sec_websocket_key_s[] = "Sec-WebSocket-Key";
-static const char sec_websocket_version_s[] = "Sec-WebSocket-Version";
-static const char sec_websocket_accept_s[] = "Sec-WebSocket-Accept";
-static const char sec_websocket_protocol_s[] = "Sec-WebSocket-Protocol";
-
-static const char vseparators[] = " \t,";
-
/* get randomly a pair of key/accept value */
static void getkeypair(const char **key, const char **ack)
{