svn commit: r326760 - stable/11/usr.sbin/inetd

Xin LI delphij at FreeBSD.org
Mon Dec 11 05:06:29 UTC 2017


Author: delphij
Date: Mon Dec 11 05:06:28 2017
New Revision: 326760
URL: https://svnweb.freebsd.org/changeset/base/326760

Log:
  MFC r326244:
  
  Don't assign rs as we will assign it later.

Modified:
  stable/11/usr.sbin/inetd/builtins.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/inetd/builtins.c
==============================================================================
--- stable/11/usr.sbin/inetd/builtins.c	Mon Dec 11 04:40:25 2017	(r326759)
+++ stable/11/usr.sbin/inetd/builtins.c	Mon Dec 11 05:06:28 2017	(r326760)
@@ -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';


More information about the svn-src-stable mailing list