osmocon: calcluate unix domain socket length in a portable way
authorHarald Welte <laforge@gnumonks.org>
Tue, 30 Mar 2010 01:50:32 +0000 (09:50 +0800)
committerHarald Welte <laforge@gnumonks.org>
Tue, 30 Mar 2010 01:50:32 +0000 (09:50 +0800)
commited9901d842ed4810cf4e503829541ec4407c9619
treee43b65ffc1de2ecc48b323a4fee8e23aa4e6ba5b
parentac7715a2d5be6344ce7c38bd7fb7bc834bf9cad8
osmocon: calcluate unix domain socket length in a portable way

Let's hope this concept (as seen in Xorg sources) is portable enough
to calculate the length of the sockaddr_un properly on all
architectures.
src/host/osmocon/osmocon.c