summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/res_comp.c
diff options
context:
space:
mode:
authormillert <>1997-07-09 01:08:53 +0000
committermillert <>1997-07-09 01:08:53 +0000
commit876d3a1be4aa406672cc674a171f26878319d505 (patch)
tree72a738d612791a6e60d74a474bca3bbbcac4828c /src/lib/libc/net/res_comp.c
parentfd3592b18f24103bfc82412a8950e5f06e549ff1 (diff)
downloadopenbsd-876d3a1be4aa406672cc674a171f26878319d505.tar.gz
openbsd-876d3a1be4aa406672cc674a171f26878319d505.tar.bz2
openbsd-876d3a1be4aa406672cc674a171f26878319d505.zip
Clean up some -Wall flowers.
Diffstat (limited to 'src/lib/libc/net/res_comp.c')
-rw-r--r--src/lib/libc/net/res_comp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/net/res_comp.c b/src/lib/libc/net/res_comp.c
index 030400d2a0..f7a0358967 100644
--- a/src/lib/libc/net/res_comp.c
+++ b/src/lib/libc/net/res_comp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_comp.c,v 1.7 1997/04/30 05:54:44 tholo Exp $ */ 1/* $OpenBSD: res_comp.c,v 1.8 1997/07/09 01:08:49 millert Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1993 4 * ++Copyright++ 1985, 1993
@@ -60,7 +60,7 @@
60static char sccsid[] = "@(#)res_comp.c 8.1 (Berkeley) 6/4/93"; 60static char sccsid[] = "@(#)res_comp.c 8.1 (Berkeley) 6/4/93";
61static char rcsid[] = "$From: res_comp.c,v 8.11 1996/12/02 09:17:22 vixie Exp $"; 61static char rcsid[] = "$From: res_comp.c,v 8.11 1996/12/02 09:17:22 vixie Exp $";
62#else 62#else
63static char rcsid[] = "$OpenBSD: res_comp.c,v 1.7 1997/04/30 05:54:44 tholo Exp $"; 63static char rcsid[] = "$OpenBSD: res_comp.c,v 1.8 1997/07/09 01:08:49 millert Exp $";
64#endif 64#endif
65#endif /* LIBC_SCCS and not lint */ 65#endif /* LIBC_SCCS and not lint */
66 66
@@ -106,7 +106,7 @@ dn_expand(msg, eomorig, comp_dn, exp_dn, length)
106 /* 106 /*
107 * fetch next label in domain name 107 * fetch next label in domain name
108 */ 108 */
109 while (n = *cp++) { 109 while ((n = *cp++)) {
110 /* 110 /*
111 * Check for indirection 111 * Check for indirection
112 */ 112 */
@@ -306,7 +306,7 @@ dn_find(exp_dn, msg, dnptrs, lastdnptr)
306 for (cpp = dnptrs; cpp < lastdnptr; cpp++) { 306 for (cpp = dnptrs; cpp < lastdnptr; cpp++) {
307 dn = exp_dn; 307 dn = exp_dn;
308 sp = cp = *cpp; 308 sp = cp = *cpp;
309 while (n = *cp++) { 309 while ((n = *cp++)) {
310 /* 310 /*
311 * check for indirection 311 * check for indirection
312 */ 312 */