summaryrefslogtreecommitdiffstats
path: root/libvncserver/ws_decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'libvncserver/ws_decode.h')
-rw-r--r--libvncserver/ws_decode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/ws_decode.h b/libvncserver/ws_decode.h
index 709477a..eb774a4 100644
--- a/libvncserver/ws_decode.h
+++ b/libvncserver/ws_decode.h
@@ -110,7 +110,7 @@ typedef struct ws_header_data_s {
unsigned char fin;
} ws_header_data_t;
-typedef struct ws_ctx_s {
+struct ws_ctx_s {
char codeBufDecode[2048 + WSHLENMAX]; /* base64 + maximum frame header length */
char codeBufEncode[B64LEN(UPDATE_BUF_SIZE) + WSHLENMAX]; /* base64 + maximum frame header length */
char *writePos;
@@ -126,7 +126,7 @@ typedef struct ws_ctx_s {
wsEncodeFunc encode;
wsDecodeFunc decode;
ctxInfo_t ctxInfo;
-} ws_ctx_t;
+};
enum
{