summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorderaadt <>1999-09-03 21:14:51 +0000
committerderaadt <>1999-09-03 21:14:51 +0000
commit6f5bcf74321d5c86f874a41922eeb71ca5e1cfd0 (patch)
treec915a2da04480dab2954c5fc3d3df7d8f6de5aa6 /src/lib
parent4b9a539e24aa83596bf461e37114bcf66404eca6 (diff)
downloadopenbsd-6f5bcf74321d5c86f874a41922eeb71ca5e1cfd0.tar.gz
openbsd-6f5bcf74321d5c86f874a41922eeb71ca5e1cfd0.tar.bz2
openbsd-6f5bcf74321d5c86f874a41922eeb71ca5e1cfd0.zip
typo
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/net/res_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/res_init.c b/src/lib/libc/net/res_init.c
index 2e8023ad31..fd8d279cf0 100644
--- a/src/lib/libc/net/res_init.c
+++ b/src/lib/libc/net/res_init.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_init.c,v 1.17 1999/09/03 16:23:19 millert Exp $ */ 1/* $OpenBSD: res_init.c,v 1.18 1999/09/03 21:14:51 deraadt Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1989, 1993 4 * ++Copyright++ 1985, 1989, 1993
@@ -60,7 +60,7 @@
60static char sccsid[] = "@(#)res_init.c 8.1 (Berkeley) 6/7/93"; 60static char sccsid[] = "@(#)res_init.c 8.1 (Berkeley) 6/7/93";
61static char rcsid[] = "$From: res_init.c,v 8.7 1996/09/28 06:51:07 vixie Exp $"; 61static char rcsid[] = "$From: res_init.c,v 8.7 1996/09/28 06:51:07 vixie Exp $";
62#else 62#else
63static char rcsid[] = "$OpenBSD: res_init.c,v 1.17 1999/09/03 16:23:19 millert Exp $"; 63static char rcsid[] = "$OpenBSD: res_init.c,v 1.18 1999/09/03 21:14:51 deraadt Exp $";
64#endif 64#endif
65#endif /* LIBC_SCCS and not lint */ 65#endif /* LIBC_SCCS and not lint */
66 66
@@ -476,7 +476,7 @@ res_setoptions(options, source)
476 char *p = cp + sizeof("ndots:") - 1; 476 char *p = cp + sizeof("ndots:") - 1;
477 l = strtol(p, &endp, 10); 477 l = strtol(p, &endp, 10);
478 if (l >= 0 && endp != p && 478 if (l >= 0 && endp != p &&
479 (*endp = '\0' || issapce(*endp))) { 479 (*endp = '\0' || isspace(*endp))) {
480 if (l <= RES_MAXNDOTS) 480 if (l <= RES_MAXNDOTS)
481 _res.ndots = l; 481 _res.ndots = l;
482 else 482 else