osmoload: Use osmo_sock_unix_init_ofd() from libosmocore
commit855cea63180d6564cf3a5c637bb92e405c7b6841
authorHarald Welte <laforge@gnumonks.org>
Thu, 6 Sep 2018 13:00:10 +0000 (6 15:00 +0200)
committerHarald Welte <laforge@gnumonks.org>
Thu, 6 Sep 2018 14:14:47 +0000 (6 16:14 +0200)
tree44e543cf3037ec937d1132dac78b31ceaf221f52
parentdb144ce571748e691ea88b04f07436542cdfca99
osmoload: Use osmo_sock_unix_init_ofd() from libosmocore

We don't need to hand-code unix domain socket initialization but
can simply use our library function for it.  As an added benefit,
the library code already contains corner case handling for non-NUL
terminated unix domain socket path.

Change-Id: Iedcec4591cf0fcbd6f956ed022169eae10a9b16e
src/host/osmocon/osmoload.c