From e7eb73b8d1fe1008d92433ea949491ce654bfaba Mon Sep 17 00:00:00 2001 From: "dtucker@openbsd.org" Date: Fri, 22 Oct 2021 09:19:34 +0000 Subject: [PATCH] upstream: Fix typos in comments. From khaleesicodes via github PR#280. OpenBSD-Commit-ID: 26fdd83652c40f098bf7c685e8ebb9eb72cc45fc --- addr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addr.c b/addr.c index ba0fad4e9..100ade7bd 100644 --- a/addr.c +++ b/addr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: addr.c,v 1.1 2021/01/09 11:58:50 dtucker Exp $ */ +/* $OpenBSD: addr.c,v 1.2 2021/10/22 09:19:34 dtucker Exp $ */ /* * Copyright (c) 2004-2008 Damien Miller @@ -281,7 +281,7 @@ addr_is_all0s(const struct xaddr *a) /* * Test whether host portion of address 'a', as determined by 'masklen' * is all zeros. - * Returns 0 on if host portion of address is all-zeros, + * Returns 0 if host portion of address is all-zeros, * -1 if not all zeros or on failure. */ int @@ -298,7 +298,7 @@ addr_host_is_all0s(const struct xaddr *a, u_int masklen) } /* - * Parse string address 'p' into 'n' + * Parse string address 'p' into 'n'. * Returns 0 on success, -1 on failure. */ int