]> jfr.im git - solanum.git/commit
Fix SET_SS_LEN so that it also works correctly outside libratbox.
authorJilles Tjoelker <redacted>
Sat, 5 Apr 2008 19:08:48 +0000 (21:08 +0200)
committerJilles Tjoelker <redacted>
Sat, 5 Apr 2008 19:08:48 +0000 (21:08 +0200)
commit9d9a4f6015d1ea456c194a9cb4f17f4270b0a8cc
treeb04dc4135fa28766ad5818a8b372e9e3a40eba24
parent47adde3def730b5e48619e03d3ae9c842120825e
Fix SET_SS_LEN so that it also works correctly outside libratbox.
Use RB_SOCKADDR_HAS_SA_LEN instead of SOCKADDR_IN_HAS_LEN
which is only defined inside libratbox.
This fixes creating own sockaddr structs in other programs
using SET_SS_LEN, then passing them to libratbox, on
4.4BSD based systems.
libratbox/include/ratbox_lib.h