noip.c (encode_..._inet_addr: Abstract out checking a single address.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 6 Jun 2018 19:10:14 +0000 (20:10 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 6 Jun 2018 19:13:05 +0000 (20:13 +0100)
There's this common pattern of building the Unix-domain socket address,
probing its status, maybe unlinking the socket if it's stale, and
returning the result.  Let's only write that once.

No functional change.


No differences found