summaryrefslogtreecommitdiff
path: root/inet_net_pton.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet_net_pton.c')
-rw-r--r--inet_net_pton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet_net_pton.c b/inet_net_pton.c
index 71c07c5..b64fc5b 100644
--- a/inet_net_pton.c
+++ b/inet_net_pton.c
@@ -151,7 +151,7 @@ inet_net_pton_ipv4(const char *src, unsigned char *dst, size_t size)
/* If nothing was written to the destination, we found no address. */
if (dst == odst)
- goto enoent;
+ goto enoent; /* LCOV_EXCL_LINE: all valid paths above increment dst */
/* If no CIDR spec was given, infer width from net class. */
if (bits == -1) {
if (*odst >= 240) /* Class E */