diff options
author | Joshua Colp <jcolp@digium.com> | 2015-08-10 11:39:05 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-08-10 11:39:05 -0500 |
commit | c57b78d4c94e592d069521123a24fcb80524a893 (patch) | |
tree | 3ca9c6818f6d6d2122c2f6a0577defa56d4c8b32 /res | |
parent | f733bc10b11ec9bef42206898bc404858aa7c42f (diff) | |
parent | 26f0559a94519b735396ed4ce90e23c1d9d5b332 (diff) |
Merge "Replace htobe64 with htonll" into 13
Diffstat (limited to 'res')
-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); |