diff options
| author | christos <christos@NetBSD.org> | 2011-12-23 16:56:54 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2011-12-23 16:56:54 +0000 |
| commit | 4977c51e8f060c6f081114baeb8b9759f98567a9 (patch) | |
| tree | 94f01c6668d83288dc389cc66177b73f19f09a26 /libexec | |
| parent | 0a9d6792782ad2c0c35edfbb976889142aa411f3 (diff) | |
there is a macro for that, use it.
Diffstat (limited to 'libexec')
| -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 4853c882538..85f9c981398 100644 --- a/libexec/telnetd/state.c +++ b/libexec/telnetd/state.c @@ -1,4 +1,4 @@ -/* $NetBSD: state.c,v 1.27 2007/02/21 21:14:07 hubertf Exp $ */ +/* $NetBSD: state.c,v 1.28 2011/12/23 16:56:54 christos Exp $ */ /* * Copyright (c) 1989, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)state.c 8.5 (Berkeley) 5/30/95"; #else -__RCSID("$NetBSD: state.c,v 1.27 2007/02/21 21:14:07 hubertf Exp $"); +__RCSID("$NetBSD: state.c,v 1.28 2011/12/23 16:56:54 christos Exp $"); #endif #endif /* not lint */ @@ -1212,7 +1212,7 @@ suboption(void) * Process suboption buffer of slc's */ start_slc(1); - do_opt_slc(subpointer, subend - subpointer); + do_opt_slc(subpointer, SB_LEN()); (void) end_slc(0); break; } else if (request == LM_MODE) { |
