summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet/tn3270.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-07-06 05:14:28 +0000
committerbde <bde@FreeBSD.org>1997-07-06 05:14:28 +0000
commit3f0aace088bc6b054bf078c7be1970fd57453176 (patch)
treefb197e8ce150ef9d57444b959c5514685e108f47 /usr.bin/telnet/tn3270.c
parent8e49bc41a2ccf2ebdd927af9395913f3da1156d1 (diff)
downloadFreeBSD-src-3f0aace088bc6b054bf078c7be1970fd57453176.zip
FreeBSD-src-3f0aace088bc6b054bf078c7be1970fd57453176.tar.gz
Import Lite2's src/usr.bin/telnet. The README is still on the vendor
branch and importing it gives some anachronisms. tn3270.c is still on the vendor branch and importing it just changes a memcpy to memmove.
Diffstat (limited to 'usr.bin/telnet/tn3270.c')
-rw-r--r--usr.bin/telnet/tn3270.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/telnet/tn3270.c b/usr.bin/telnet/tn3270.c
index 1f285cf..a75cd1e 100644
--- a/usr.bin/telnet/tn3270.c
+++ b/usr.bin/telnet/tn3270.c
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char sccsid[] = "@(#)tn3270.c 8.1 (Berkeley) 6/6/93";
+static char sccsid[] = "@(#)tn3270.c 8.2 (Berkeley) 5/30/95";
#endif /* not lint */
#include <sys/types.h>
@@ -242,7 +242,7 @@ Push3270()
if (save) {
if (Ifrontp+save > Ibuf+sizeof Ibuf) {
if (Ibackp != Ibuf) {
- memcpy(Ibuf, Ibackp, Ifrontp-Ibackp);
+ memmove(Ibuf, Ibackp, Ifrontp-Ibackp);
Ifrontp -= (Ibackp-Ibuf);
Ibackp = Ibuf;
}
OpenPOWER on IntegriCloud