Set opcode correctly for binary frames.

pull/1/head
Joel Martin 11 years ago
parent 0de0fa498d
commit 7b9fc019de

@ -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;
}

Loading…
Cancel
Save