diff --git a/usr.sbin/inetd/builtins.c b/usr.sbin/inetd/builtins.c index 26d333255a8a..575985103224 100644 --- a/usr.sbin/inetd/builtins.c +++ b/usr.sbin/inetd/builtins.c @@ -166,10 +166,8 @@ chargen_stream(int s, struct servtab *sep) inetd_setproctitle(sep->se_service, s); - if (!endring) { + if (!endring) initring(); - rs = ring; - } text[LINESIZ] = '\r'; text[LINESIZ + 1] = '\n';