diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2012-09-11 22:50:15 +0300 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2012-09-14 18:47:37 +0200 |
commit | 95dd76327b79ff892b011876a959a8b8e40afe62 (patch) | |
tree | 71843360e75cb38aa8855bfecfb867218353f950 /libvncclient/rre.c | |
parent | 2d18f3cdcfa0bca29dd83720d311682269b7d813 (diff) | |
download | libtdevnc-95dd76327b79ff892b011876a959a8b8e40afe62.tar.gz libtdevnc-95dd76327b79ff892b011876a959a8b8e40afe62.zip |
Use htobeNN(3) to convert numbers in websocket.c.
byteswap.h exists only on glibc, so building libvncserver with websockets
support was not possible in other systems.
Replace the inclusion of byteswap.h and the WS_* definitions with calls to
htobeNN, which should perform the same conversions, be more portable and
avoid the need to check for the platform's endianness.
Diffstat (limited to 'libvncclient/rre.c')
0 files changed, 0 insertions, 0 deletions