noip.c (encode_inet_addr): Exit early rather than branch round.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 6 Jun 2018 19:00:05 +0000 (20:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 6 Jun 2018 19:13:05 +0000 (20:13 +0100)
commitaed729d0a140e336638204edeef2ab5d3d9e601e
tree306112eb25eb275b1ac2187ca2b24544e6cfb5e9
parent5d8b1560f62fc92e0497efb3d3defc35daceba57
noip.c (encode_inet_addr): Exit early rather than branch round.

Promote the wildcard probe to the main line, and leave early -- to the
handy `found' label we just hoisted -- if the exact match was
acceptable.  This structure is more convenient for adding a more
complicated search strategy later.

No functional change.
noip.c