Fix typos in comments.
This commit is contained in:
parent
595e532309
commit
c9a4ff2582
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143416
@ -621,7 +621,7 @@ dconschat_read_filter(struct dcons_state *dc, struct dcons_port *p,
|
|||||||
while (slen > 0) {
|
while (slen > 0) {
|
||||||
if (IS_CONSOLE(p)) {
|
if (IS_CONSOLE(p)) {
|
||||||
if ((dc->flags & F_TELNET) != 0) {
|
if ((dc->flags & F_TELNET) != 0) {
|
||||||
/* XXX Telent workarounds */
|
/* XXX Telnet workarounds */
|
||||||
if (p->skip_read -- > 0) {
|
if (p->skip_read -- > 0) {
|
||||||
sp ++;
|
sp ++;
|
||||||
slen --;
|
slen --;
|
||||||
@ -825,7 +825,7 @@ main(int argc, char **argv)
|
|||||||
dc = ≻
|
dc = ≻
|
||||||
dc->flags |= USE_CROM ? F_USE_CROM : 0;
|
dc->flags |= USE_CROM ? F_USE_CROM : 0;
|
||||||
|
|
||||||
/* defualt ports */
|
/* default ports */
|
||||||
port[0] = 0; /* stdin/out for console */
|
port[0] = 0; /* stdin/out for console */
|
||||||
port[1] = -1; /* disable gdb port */
|
port[1] = -1; /* disable gdb port */
|
||||||
|
|
||||||
@ -945,7 +945,7 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
dconschat_fetch_header(dc);
|
dconschat_fetch_header(dc);
|
||||||
|
|
||||||
/* iniit sockets */
|
/* init sockets */
|
||||||
dc->kq = kqueue();
|
dc->kq = kqueue();
|
||||||
if (poll_hz == 1) {
|
if (poll_hz == 1) {
|
||||||
dc->to.tv_sec = 1;
|
dc->to.tv_sec = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user