diff options
Diffstat (limited to 'libexec/telnetd/slc.c')
-rw-r--r-- | libexec/telnetd/slc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libexec/telnetd/slc.c b/libexec/telnetd/slc.c index 145746a..a03bd9d 100644 --- a/libexec/telnetd/slc.c +++ b/libexec/telnetd/slc.c @@ -109,10 +109,10 @@ get_slc_defaults() init_termbuf(); for (i = 1; i <= NSLC; i++) { - slctab[i].defset.flag = + slctab[i].defset.flag = spcset(i, &slctab[i].defset.val, &slctab[i].sptr); - slctab[i].current.flag = SLC_NOSUPPORT; - slctab[i].current.val = 0; + slctab[i].current.flag = SLC_NOSUPPORT; + slctab[i].current.val = 0; } } /* end of get_slc_defaults */ @@ -286,7 +286,7 @@ change_slc(func, flag, val) register cc_t val; { register int hislevel, mylevel; - + hislevel = flag & SLC_LEVELBITS; mylevel = slctab[func].defset.flag & SLC_LEVELBITS; /* @@ -345,7 +345,7 @@ change_slc(func, flag, val) * request as he asks. * * If our level is DEFAULT, then just ack whatever was - * sent. + * sent. * * If he can't change and we can't change, * then degenerate to NOSUPPORT. @@ -372,7 +372,7 @@ change_slc(func, flag, val) slctab[func].defset.val; val = slctab[func].current.val; } - + } add_slc(func, flag, val); } @@ -423,7 +423,7 @@ check_slc() slctab[i].current.val); } } - + } /* check_slc */ /* |