From ab16ee3ef7066e937ab77d42bba0beac659fcbef Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 26 Aug 2016 20:56:14 +0200 Subject: [PATCH 1/1] net.c: Fix two trivial whitespace issues. --- net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net.c b/net.c index 1b142a3c..13694989 100644 --- a/net.c +++ b/net.c @@ -175,8 +175,7 @@ char *parse_url(const char *url, } if (*o == ':') - if (para_atoi32(++o, port) < 0 || - *port < 0 || *port > 0xffff) + if (para_atoi32(++o, port) < 0 || *port < 0 || *port > 0xffff) goto failed; if (host_string_ok(host)) return host; @@ -187,6 +186,7 @@ failed: /** * Stringify port number, resolve into service name where defined. + * * \param port 2-byte port number, in host-byte-order. * \param transport Transport protocol name (e.g. "udp", "tcp"), or NULL. * \return Pointer to static result buffer. -- 2.39.2