diff --git a/src/modules/websocket/websocket.c b/src/modules/websocket/websocket.c index 681617ca4c6..826c540027d 100644 --- a/src/modules/websocket/websocket.c +++ b/src/modules/websocket/websocket.c @@ -46,7 +46,7 @@ MODULE_VERSION -/* Maximum number of connections to display when using the ws.dump MI command */ +/* Maximum number of connections to display when using the ws.dump command */ #define MAX_WS_CONNS_DUMP 50 static int mod_init(void); diff --git a/src/modules/websocket/ws_conn.c b/src/modules/websocket/ws_conn.c index dd03b9b606d..4abe960a55c 100644 --- a/src/modules/websocket/ws_conn.c +++ b/src/modules/websocket/ws_conn.c @@ -33,7 +33,7 @@ #include "ws_conn.h" #include "websocket.h" -/* Maximum number of connections to display when using the ws.dump MI command */ +/* Maximum number of connections to display when using the ws.dump command */ #define MAX_WS_CONNS_DUMP 50 ws_connection_t **wsconn_id_hash = NULL; @@ -66,10 +66,8 @@ char *wsconn_state_str[] = "CLOSED" /* WS_S_CLOSED */ }; -/* MI command status text */ -static str str_status_empty_param = str_init("Empty display order parameter"); +/* RPC command status text */ static str str_status_bad_param = str_init("Bad display order parameter"); -static str str_status_too_many_params = str_init("Too many parameters"); int wsconn_init(void) { diff --git a/src/modules/websocket/ws_frame.c b/src/modules/websocket/ws_frame.c index 2e6051ce20a..cdd13428a61 100644 --- a/src/modules/websocket/ws_frame.c +++ b/src/modules/websocket/ws_frame.c @@ -127,13 +127,9 @@ static str str_status_protocol_error = str_init("Protocol error"); static str str_status_unsupported_opcode = str_init("Unsupported opcode"); static str str_status_message_too_big = str_init("Message too big"); -/* MI command status text */ -static str str_status_empty_param = str_init("Empty connection ID parameter"); -static str str_status_too_many_params = str_init("Too many parameters"); -static str str_status_bad_param = str_init("Bad connection ID parameter"); +/* RPC command status text */ static str str_status_error_closing = str_init("Error closing connection"); static str str_status_error_sending = str_init("Error sending frame"); -static str str_status_string_error = str_init("Error converting string to int"); static int ws_send_crlf(ws_connection_t *wsc, int opcode);