From: Ezra Peisach Date: Sat, 3 Jun 1995 21:22:00 +0000 (+0000) Subject: If using inetd, set file descriptor of socket to 0 X-Git-Tag: krb5-1.0-beta6~1862 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4330835ce10cbc11916fc63c6ab3fe148b9be906;p=krb5.git If using inetd, set file descriptor of socket to 0 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5941 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/sample/sserver/ChangeLog b/src/appl/sample/sserver/ChangeLog index 14a79dab7..754cb3a02 100644 --- a/src/appl/sample/sserver/ChangeLog +++ b/src/appl/sample/sserver/ChangeLog @@ -1,3 +1,7 @@ +Sat Jun 3 17:20:28 1995 Ezra Peisach + + * sserver.c (main): If using inetd, set file descriptor to 0. + Wed May 10 15:18:19 1995 Ezra Peisach (epeisach@kangaroo.mit.edu) * sserver.M: Document options. diff --git a/src/appl/sample/sserver/sserver.c b/src/appl/sample/sserver/sserver.c index d97f5febd..166ebf585 100644 --- a/src/appl/sample/sserver/sserver.c +++ b/src/appl/sample/sserver/sserver.c @@ -173,6 +173,7 @@ main(argc, argv) syslog(LOG_ERR, "getpeername: %m"); exit(1); } + sock = 0; } peeraddr.addrtype = peername.sin_family;