summaryrefslogtreecommitdiffstats
path: root/addr.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2021-10-22 11:19:34 +0200
committerDarren Tucker <dtucker@dtucker.net>2021-10-22 13:02:26 +0200
commite7eb73b8d1fe1008d92433ea949491ce654bfaba (patch)
tree375269ee40037a639e7d4edb350c0782607474f3 /addr.c
parentupstream: switch scp(1) back to sftp protocol. (diff)
downloadopenssh-e7eb73b8d1fe1008d92433ea949491ce654bfaba.tar.xz
openssh-e7eb73b8d1fe1008d92433ea949491ce654bfaba.zip
upstream: Fix typos in comments.
From khaleesicodes via github PR#280. OpenBSD-Commit-ID: 26fdd83652c40f098bf7c685e8ebb9eb72cc45fc
Diffstat (limited to 'addr.c')
-rw-r--r--addr.c6
1 files 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 <djm@mindrot.org>
@@ -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