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