summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2015-08-10 11:39:10 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2015-08-10 11:39:11 -0500
commitfeffafbd554db9a41291ace567aaeffe5375c6f7 (patch)
treef202e726a0e244fc044e7effa197d03ae16ad5c8
parentff36b5482b05baa3e91161c567162873d7d2b38d (diff)
parentd5f0c2712209cd1573ed2e358fef69f2dc9b21c3 (diff)
Merge "Replace htobe64 with htonll"
-rw-r--r--res/res_http_websocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_http_websocket.c b/res/res_http_websocket.c
index 9e5c60d83..7a2552e78 100644
--- a/res/res_http_websocket.c
+++ b/res/res_http_websocket.c
@@ -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);