This commit is contained in:
aozhiwei 2019-09-25 13:50:13 +08:00
parent 98af57041d
commit c9e2386f8e

View File

@ -196,8 +196,8 @@ namespace a8
} }
char* real_buf = buf + offset; char* real_buf = buf + offset;
unsigned int ava_len = buflen - offset; unsigned int ava_len = buflen - offset;
char header = real_buf[0]; unsigned char header = real_buf[0];
char mask_payloadlen = real_buf[1]; unsigned char mask_payloadlen = real_buf[1];
bool is_final_frame = (header & FIN) == FIN; bool is_final_frame = (header & FIN) == FIN;
#if 0 #if 0