diff options
| author | millert <> | 1997-04-05 21:13:17 +0000 |
|---|---|---|
| committer | millert <> | 1997-04-05 21:13:17 +0000 |
| commit | 9156235dba65010d9f983e3b8fc0e0b2739c78d4 (patch) | |
| tree | 178131fb064d2fb2a659152bdfbfb0c0bb5788cd /src/lib/libc/net/res_debug.c | |
| parent | 06967c8a88bc843a5afe2987c242b4f744a4dabf (diff) | |
| download | openbsd-9156235dba65010d9f983e3b8fc0e0b2739c78d4.tar.gz openbsd-9156235dba65010d9f983e3b8fc0e0b2739c78d4.tar.bz2 openbsd-9156235dba65010d9f983e3b8fc0e0b2739c78d4.zip | |
Use in_addr_t not u_long and use in_port_t in some cases instead
of u_short or u_int16_t.
Diffstat (limited to 'src/lib/libc/net/res_debug.c')
| -rw-r--r-- | src/lib/libc/net/res_debug.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/res_debug.c b/src/lib/libc/net/res_debug.c index 7fd6d4a21c..0b623a153c 100644 --- a/src/lib/libc/net/res_debug.c +++ b/src/lib/libc/net/res_debug.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: res_debug.c,v 1.5 1997/03/13 19:07:37 downsj Exp $ */ | 1 | /* $OpenBSD: res_debug.c,v 1.6 1997/04/05 21:13:16 millert Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * ++Copyright++ 1985, 1990, 1993 | 4 | * ++Copyright++ 1985, 1990, 1993 |
| @@ -82,7 +82,7 @@ | |||
| 82 | static char sccsid[] = "@(#)res_debug.c 8.1 (Berkeley) 6/4/93"; | 82 | static char sccsid[] = "@(#)res_debug.c 8.1 (Berkeley) 6/4/93"; |
| 83 | static char rcsid[] = "$From: res_debug.c,v 8.19 1996/11/26 10:11:23 vixie Exp $"; | 83 | static char rcsid[] = "$From: res_debug.c,v 8.19 1996/11/26 10:11:23 vixie Exp $"; |
| 84 | #else | 84 | #else |
| 85 | static char rcsid[] = "$OpenBSD: res_debug.c,v 1.5 1997/03/13 19:07:37 downsj Exp $"; | 85 | static char rcsid[] = "$OpenBSD: res_debug.c,v 1.6 1997/04/05 21:13:16 millert Exp $"; |
| 86 | #endif | 86 | #endif |
| 87 | #endif /* LIBC_SCCS and not lint */ | 87 | #endif /* LIBC_SCCS and not lint */ |
| 88 | 88 | ||
| @@ -518,7 +518,7 @@ __p_rr(cp, msg, file) | |||
| 518 | } else if (dlen == 7) { | 518 | } else if (dlen == 7) { |
| 519 | char *address; | 519 | char *address; |
| 520 | u_char protocol; | 520 | u_char protocol; |
| 521 | u_short port; | 521 | in_port_t port; |
| 522 | 522 | ||
| 523 | address = inet_ntoa(inaddr); | 523 | address = inet_ntoa(inaddr); |
| 524 | cp += INADDRSZ; | 524 | cp += INADDRSZ; |
