aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-04 12:17:53 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-04 12:17:53 -0400
commit3b646bf887f95c7f26ca05fb7fb3af10806b1328 (patch)
treece2c13e26ed67f30ab2494ccf25780db071f845c /src/or/hs_descriptor.c
parent32b4fd5be9574a1f17947416889be9067db483b7 (diff)
downloadtor-3b646bf887f95c7f26ca05fb7fb3af10806b1328.tar.gz
tor-3b646bf887f95c7f26ca05fb7fb3af10806b1328.zip
Fix ntohs() that should have been htons()
Fixes bug 23106; bugfix on 0.2.4.8-alpha. Fortunately, we only support big-endian and little-endian platforms, and on both of those, hton*() and ntoh*() behave the same. And if we did start to support middle endian systems (haha, no), most of _those_ have hton*(x) == ntoh*(x) too.
Diffstat (limited to 'src/or/hs_descriptor.c')
0 files changed, 0 insertions, 0 deletions