aboutsummaryrefslogtreecommitdiff
path: root/changes/bug23106
AgeCommit message (Collapse)Author
2017-08-04Fix ntohs() that should have been htons()Nick Mathewson
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.