Skip to content
Snippets Groups Projects
Commit 06b464ab authored by David M. Lee's avatar David M. Lee
Browse files

Replace htobe64 with htonll

We don't have a compatability function to fill in a missing htobe64; but
we already have one for the identical htonll.

Change-Id: Ic0a95db1c5b0041e14e6b127432fb533b97e4cac
parent c7a1dca4
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,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.
Finish editing this message first!
Please register or to comment