Commit 7b9fc019 authored by Joel Martin's avatar Joel Martin

Set opcode correctly for binary frames.

parent 0de0fa49
......@@ -794,6 +794,7 @@ webSocketsEncodeHybi(rfbClientPtr cl, const char *src, int len, char **dst)
/* calculate the resulting size */
blen = B64LEN(len);
} else {
opcode = WS_OPCODE_BINARY_FRAME;
blen = len;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment