From: Mark Wooding Date: Wed, 6 Jun 2018 18:55:44 +0000 (+0100) Subject: noip.c (encode_inet_addr): Hoist `found' label to top-level. X-Git-Tag: 1.2.0~25 X-Git-Url: https://git.distorted.org.uk/~mdw/preload-hacks/commitdiff_plain/5d8b1560f62fc92e0497efb3d3defc35daceba57 noip.c (encode_inet_addr): Hoist `found' label to top-level. No functional change: the control flow is as it was before, but this structure invites use of the label from the other branch of the main `if'. --- diff --git a/noip.c b/noip.c index 4edae54..31616de 100644 --- a/noip.c +++ b/noip.c @@ -742,8 +742,8 @@ static int encode_inet_addr(struct sockaddr_un *sun, errno = EADDRINUSE; D( fprintf(stderr, " -- can't resolve\n"); ) return (-1); - found:; } +found: D( fprintf(stderr, " -> `%s'\n", sun->sun_path); ) return (0); }