[asterisk-commits] Replace htobe64 with htonll (asterisk[13])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Aug 10 11:39:05 CDT 2015
Joshua Colp has submitted this change and it was merged.
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(-)
Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
Anonymous Coward #1000019: Verified
Joshua Colp: Looks good to me, approved
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: merged
Gerrit-Change-Id: Ic0a95db1c5b0041e14e6b127432fb533b97e4cac
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: David M. Lee <dlee at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-commits
mailing list