diff options
Diffstat (limited to 'src/lib/libc/net/ipx_addr.c')
-rw-r--r-- | src/lib/libc/net/ipx_addr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/ipx_addr.c b/src/lib/libc/net/ipx_addr.c index 96ee9d0fdb..a76e03e913 100644 --- a/src/lib/libc/net/ipx_addr.c +++ b/src/lib/libc/net/ipx_addr.c | |||
@@ -37,7 +37,7 @@ | |||
37 | */ | 37 | */ |
38 | 38 | ||
39 | #if defined(LIBC_SCCS) && !defined(lint) | 39 | #if defined(LIBC_SCCS) && !defined(lint) |
40 | static char rcsid[] = "$OpenBSD: ipx_addr.c,v 1.2 1996/08/19 08:29:18 tholo Exp $"; | 40 | static char rcsid[] = "$OpenBSD: ipx_addr.c,v 1.3 1997/07/09 01:08:39 millert Exp $"; |
41 | #endif /* LIBC_SCCS and not lint */ | 41 | #endif /* LIBC_SCCS and not lint */ |
42 | 42 | ||
43 | #include <sys/param.h> | 43 | #include <sys/param.h> |
@@ -66,7 +66,7 @@ ipx_addr(name) | |||
66 | * form 2-272.AA001234H.01777, i.e. XDE standard. | 66 | * form 2-272.AA001234H.01777, i.e. XDE standard. |
67 | * Great efforts are made to insure backward compatability. | 67 | * Great efforts are made to insure backward compatability. |
68 | */ | 68 | */ |
69 | if (hostname = strchr(buf, '#')) | 69 | if ((hostname = strchr(buf, '#'))) |
70 | separator = '#'; | 70 | separator = '#'; |
71 | else { | 71 | else { |
72 | hostname = strchr(buf, '.'); | 72 | hostname = strchr(buf, '.'); |