mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 05:36:10 +00:00
inetd: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/882
This commit is contained in:
parent
dc8725726d
commit
6addf2595e
|
@ -313,8 +313,8 @@ echo_stream(int s, struct servtab *sep)
|
|||
|
||||
/* RFC 1413 says the following are the only errors you can return. */
|
||||
#define ID_INVALID "INVALID-PORT" /* Port number improperly specified. */
|
||||
#define ID_NOUSER "NO-USER" /* Port not in use/not identifable. */
|
||||
#define ID_HIDDEN "HIDDEN-USER" /* Hiden at user's request. */
|
||||
#define ID_NOUSER "NO-USER" /* Port not in use/not identifiable. */
|
||||
#define ID_HIDDEN "HIDDEN-USER" /* Hidden at user's request. */
|
||||
#define ID_UNKNOWN "UNKNOWN-ERROR" /* Everything else. */
|
||||
|
||||
/* Generic ident_stream error-sending func */
|
||||
|
@ -405,7 +405,7 @@ ident_stream(int s, struct servtab *sep)
|
|||
* random number only when necessary.
|
||||
*
|
||||
* 32 bits from arc4random corresponds to
|
||||
* about 6 base-36 digits, so we reseed evey 6.
|
||||
* about 6 base-36 digits, so we reseed every 6.
|
||||
*/
|
||||
for (i = 0; i < sizeof(idbuf) - 1; i++) {
|
||||
static const char *const base36 =
|
||||
|
|
Loading…
Reference in a new issue