diff options
author | delphij <delphij@FreeBSD.org> | 2017-12-11 05:06:28 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2017-12-11 05:06:28 +0000 |
commit | 8a1a1cbea3c848dadec525bac8f83ec8aaaf1af8 (patch) | |
tree | 8010947255d94f44fc495ea96a1547d411284497 /usr.sbin | |
parent | b78d5927f88213740848ed868c22747754dff2a4 (diff) | |
download | FreeBSD-src-8a1a1cbea3c848dadec525bac8f83ec8aaaf1af8.zip FreeBSD-src-8a1a1cbea3c848dadec525bac8f83ec8aaaf1af8.tar.gz |
MFC r326244:
Don't assign rs as we will assign it later.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/inetd/builtins.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/inetd/builtins.c b/usr.sbin/inetd/builtins.c index d75a5e4..10a2107 100644 --- a/usr.sbin/inetd/builtins.c +++ b/usr.sbin/inetd/builtins.c @@ -167,10 +167,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'; |