summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-03 21:14:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-03 21:14:52 +0000
commiteecbfd796ee216cb8741ef292af04e04142408e1 (patch)
treeba804939459620bff49e4bd3b90d22cca245a06f
parent877cf68f28da81f5fc0d1e5dcc65db77f4d2f910 (diff)
typo
-rw-r--r--lib/libc/net/res_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/res_init.c b/lib/libc/net/res_init.c
index 2e8023ad310..fd8d279cf08 100644
--- a/lib/libc/net/res_init.c
+++ b/lib/libc/net/res_init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: res_init.c,v 1.17 1999/09/03 16:23:19 millert Exp $ */
+/* $OpenBSD: res_init.c,v 1.18 1999/09/03 21:14:51 deraadt Exp $ */
/*
* ++Copyright++ 1985, 1989, 1993
@@ -60,7 +60,7 @@
static char sccsid[] = "@(#)res_init.c 8.1 (Berkeley) 6/7/93";
static char rcsid[] = "$From: res_init.c,v 8.7 1996/09/28 06:51:07 vixie Exp $";
#else
-static char rcsid[] = "$OpenBSD: res_init.c,v 1.17 1999/09/03 16:23:19 millert Exp $";
+static char rcsid[] = "$OpenBSD: res_init.c,v 1.18 1999/09/03 21:14:51 deraadt Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -476,7 +476,7 @@ res_setoptions(options, source)
char *p = cp + sizeof("ndots:") - 1;
l = strtol(p, &endp, 10);
if (l >= 0 && endp != p &&
- (*endp = '\0' || issapce(*endp))) {
+ (*endp = '\0' || isspace(*endp))) {
if (l <= RES_MAXNDOTS)
_res.ndots = l;
else