diff options
author | David M. Lee <dlee@respoke.io> | 2015-08-07 22:11:03 -0500 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2015-08-07 23:40:48 -0500 |
commit | 26f0559a94519b735396ed4ce90e23c1d9d5b332 (patch) | |
tree | e6568d2982d62c63eeb18ada28c3ffbf50446263 /res/res_http_websocket.c | |
parent | df9ce3636695781be6ab2479f90766a56747dbd7 (diff) |
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
Diffstat (limited to 'res/res_http_websocket.c')
-rw-r--r-- | res/res_http_websocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_http_websocket.c b/res/res_http_websocket.c index db9c50a28..36aff6ccd 100644 --- a/res/res_http_websocket.c +++ b/res/res_http_websocket.c @@ -349,7 +349,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); |