From 650fe0907f39b13780c222ec3a8a9fc7cf299884 Mon Sep 17 00:00:00 2001 From: dwmalone Date: Mon, 4 Jun 2001 11:43:29 +0000 Subject: This patch cleans up the ident stuff in inetd. The code which has been patched so many times it was a bit of a mess. There are style, code and man page cleanups. The following are the functional changes: The RFC only permits the returning of 4 possible error codes, make sure we only return these (PR 27636). Use MAXLOGNAME to determine the longest usernames. Add a -i flag, which returns the uid instead of the username (this is from a PR 25787, which also contained alot of the cleanups in this patch). PR: 25787, 27636 Partially Submitted by: Arne.Dag.Fidjestol@idi.ntnu.no Reviewed by: Arne.Dag.Fidjestol@idi.ntnu.no, green MFC after: 3 weeks --- usr.sbin/inetd/inetd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/inetd/inetd.h') diff --git a/usr.sbin/inetd/inetd.h b/usr.sbin/inetd/inetd.h index c0c9e64..c11f4ad 100644 --- a/usr.sbin/inetd/inetd.h +++ b/usr.sbin/inetd/inetd.h @@ -122,7 +122,7 @@ void endconfig __P((void)); struct servtab *enter __P((struct servtab *)); void freeconfig __P((struct servtab *)); struct servtab *getconfigent __P((void)); -void iderror __P((int, int, int, int)); +void iderror __P((int, int, int, char *)); void ident_stream __P((int, struct servtab *)); void machtime_dg __P((int, struct servtab *)); void machtime_stream __P((int, struct servtab *)); -- cgit v1.1