[Asterisk-code-review] Replace htobe64 with htonll (asterisk[13])
David M. Lee
asteriskteam at digium.com
Fri Aug 7 23:40:49 CDT 2015
David M. Lee has uploaded a new change for review.
https://gerrit.asterisk.org/1051
Change subject: Replace htobe64 with htonll
......................................................................
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
---
M res/res_http_websocket.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/51/1051/1
diff --git a/res/res_http_websocket.c b/res/res_http_websocket.c
index db9c50a..36aff6c 100644
--- a/res/res_http_websocket.c
+++ b/res/res_http_websocket.c
@@ -349,7 +349,7 @@
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);
--
To view, visit https://gerrit.asterisk.org/1051
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic0a95db1c5b0041e14e6b127432fb533b97e4cac
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: David M. Lee <dlee at digium.com>
More information about the asterisk-code-review
mailing list