aboutsummaryrefslogtreecommitdiff
path: root/libexec/telnetd/state.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-12-08 07:46:53 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-12-08 07:46:53 +0000
commit38de36c41cfe5489fec3161d405eea55e8be6f98 (patch)
treeec6bb6eec4f78db349a0efbd63249ecf86555c4c /libexec/telnetd/state.c
parent0a52caf8e9a289c5b1660317c3f49840e7e794d6 (diff)
Notes
Diffstat (limited to 'libexec/telnetd/state.c')
-rw-r--r--libexec/telnetd/state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c
index 6693077881a5..aeb64bbf7167 100644
--- a/libexec/telnetd/state.c
+++ b/libexec/telnetd/state.c
@@ -1450,7 +1450,7 @@ doclientstat()
clientstat(TELOPT_LINEMODE, WILL, 0);
}
-#define ADD(c) *ncp++ = c;
+#define ADD(c) *ncp++ = c
#define ADD_DATA(c) { *ncp++ = c; if (c == SE) *ncp++ = c; }
void
send_status()
@@ -1502,14 +1502,14 @@ send_status()
ADD(SE);
if (restartany >= 0) {
- ADD(SB)
+ ADD(SB);
ADD(TELOPT_LFLOW);
if (restartany) {
ADD(LFLOW_RESTART_ANY);
} else {
ADD(LFLOW_RESTART_XON);
}
- ADD(SE)
+ ADD(SE);
ADD(SB);
}
}