diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-10-01 22:59:05 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-10-01 22:59:05 +0200 |
commit | ecdbaef2886b8318e7b15bdac480df43a8b49a9c (patch) | |
tree | 09ba71c7f66f2c745437a7061a5d59ed77fbed65 /src/plugins/relay | |
parent | 4b58ea37c0394717f51a83920ee05a40371a2fb7 (diff) | |
download | weechat-ecdbaef2886b8318e7b15bdac480df43a8b49a9c.zip |
relay: remove useless test on length
Diffstat (limited to 'src/plugins/relay')
-rw-r--r-- | src/plugins/relay/relay-websocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-websocket.c b/src/plugins/relay/relay-websocket.c index 6d31cb8c8..bbac751dc 100644 --- a/src/plugins/relay/relay-websocket.c +++ b/src/plugins/relay/relay-websocket.c @@ -368,7 +368,7 @@ relay_websocket_encode_frame (int opcode, frame[1] = length; index = 2; } - else if ((length >= 126) && (length <= 65535)) + else if (length <= 65535) { /* length on 2 bytes */ frame[1] = 126; |