summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/tcpip.c
diff options
context:
space:
mode:
Diffstat (limited to 'release/sysinstall/tcpip.c')
-rw-r--r--release/sysinstall/tcpip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/tcpip.c b/release/sysinstall/tcpip.c
index a8c10fc..7e4a6e5 100644
--- a/release/sysinstall/tcpip.c
+++ b/release/sysinstall/tcpip.c
@@ -1,5 +1,5 @@
/*
- * $Id: tcpip.c,v 1.50 1996/12/09 06:37:46 jkh Exp $
+ * $Id: tcpip.c,v 1.51 1996/12/09 08:22:18 jkh Exp $
*
* Copyright (c) 1995
* Gary J Palmer. All rights reserved.
@@ -384,7 +384,7 @@ tcpOpenDialog(Device *devp)
/* BODGE ALERT! */
if (((tmp = index(hostname, '.')) != NULL) && (strlen(domainname)==0)) {
- sstrncpy(domainname, tmp + 1, strlen(tmp + 1));
+ SAFE_STRCPY(domainname, tmp + 1);
RefreshStringObj(layout[1].obj);
}
}
OpenPOWER on IntegriCloud