1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

relay: remove useless test on length

This commit is contained in:
Sébastien Helleu
2018-10-01 22:59:05 +02:00
parent 4b58ea37c0
commit ecdbaef288
+1 -1
View File
@@ -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;