From 197640b1d7de6b807534f9c6fa33435aa6b135cb Mon Sep 17 00:00:00 2001 From: Jeroen Ruigrok van der Werven Date: Wed, 7 Feb 2001 22:22:57 +0000 Subject: [PATCH] Synch: Prefer memmove() over bcopy(). --- libexec/telnetd/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c index 766e9e18fee1..79af9333cbec 100644 --- a/libexec/telnetd/state.c +++ b/libexec/telnetd/state.c @@ -358,7 +358,7 @@ gotiac: switch (c) { char xbuf2[BUFSIZ]; register char *cp; int n = pfrontp - opfrontp, oc; - bcopy(opfrontp, xptyobuf, n); + memmove(xptyobuf, opfrontp, n); pfrontp = opfrontp; pfrontp += term_input(xptyobuf, pfrontp, n, BUFSIZ+NETSLOP, xbuf2, &oc, BUFSIZ);