SCCS-vsn: usr.bin/telnet/telnet.c 5.31
-static char sccsid[] = "@(#)telnet.c 5.30 (Berkeley) %G%";
+static char sccsid[] = "@(#)telnet.c 5.31 (Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
c = *sbp++ & 0377, scc--; count++;
if (c == IAC) {
telrcv_state = TS_IAC;
c = *sbp++ & 0377, scc--; count++;
if (c == IAC) {
telrcv_state = TS_IAC;
/* If there is data waiting to go out to terminal, don't
* schedule any more data for the terminal.
*/
/* If there is data waiting to go out to terminal, don't
* schedule any more data for the terminal.
*/
- if (ring_full_count(ttyoring)) {
+ if (ring_full_count(&ttyoring)) {
schedValue = 1;
} else {
if (shell_active) {
schedValue = 1;
} else {
if (shell_active) {