Skip to content

Commit 933b984

Browse files
Well that's definitely not correct
1 parent 124cacb commit 933b984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebSocketProtocol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ static bool isValidUtf8(unsigned char *s, size_t length)
119119
for (unsigned char *e = s + length; s != e; ) {
120120
if (s + 16 <= e) {
121121
uint64_t tmp[2];
122-
memcpy(&tmp, s, 16);
122+
memcpy(tmp, s, 16);
123123
if (((tmp[0] & 0x8080808080808080) | (tmp[1] & 0x8080808080808080)) == 0) {
124124
s += 16;
125125
continue;

0 commit comments

Comments
 (0)