Skip to content
Snippets Groups Projects
Commit feffafbd authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "Replace htobe64 with htonll"

parents ff36b548 d5f0c271
Branches
Tags
No related merge requests found
......@@ -351,7 +351,7 @@ int AST_OPTIONAL_API_NAME(ast_websocket_write)(struct ast_websocket *session, en
if (length == 126) {
put_unaligned_uint16(&frame[2], htons(actual_length));
} else if (length == 127) {
put_unaligned_uint64(&frame[2], htobe64(actual_length));
put_unaligned_uint64(&frame[2], htonll(actual_length));
}
ao2_lock(session);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment