diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2001-03-05 11:25:26 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2001-03-05 11:25:26 +0000 |
| commit | 8d654c7c52c84bf723328b916eae44a620459e46 (patch) | |
| tree | 8f7f69e842e2f2b7192380ef57b17877237dde55 | |
| parent | 93c3f5616bfd6d08f4210f2cd6a0df21f6ef42c4 (diff) | |
Notes
| -rw-r--r-- | libexec/telnetd/state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c index 476a99219198..85eb28881371 100644 --- a/libexec/telnetd/state.c +++ b/libexec/telnetd/state.c @@ -33,7 +33,7 @@ #ifndef lint #if 0 -static char sccsid[] = "@(#)state.c 8.2 (Berkeley) 12/15/93"; +static const char sccsid[] = "@(#)state.c 8.2 (Berkeley) 12/15/93"; #endif static const char rcsid[] = "$FreeBSD$"; @@ -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); @@ -1167,7 +1167,7 @@ suboption() if (SB_EOF()) break; /* another garbage check */ - if (request == LM_SLC) { /* SLC is not preceeded by WILL or WONT */ + if (request == LM_SLC) { /* SLC is not preceded by WILL or WONT */ /* * Process suboption buffer of slc's */ |
