From 5d8b1560f62fc92e0497efb3d3defc35daceba57 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 6 Jun 2018 19:55:44 +0100 Subject: [PATCH] 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'. --- noip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.11.0