svn commit: r326761 - stable/10/usr.sbin/inetd

Xin LI delphij at FreeBSD.org
Mon Dec 11 05:10:13 UTC 2017


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

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

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

Modified: stable/10/usr.sbin/inetd/builtins.c
==============================================================================
--- stable/10/usr.sbin/inetd/builtins.c	Mon Dec 11 05:06:28 2017	(r326760)
+++ stable/10/usr.sbin/inetd/builtins.c	Mon Dec 11 05:10:11 2017	(r326761)
@@ -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-10 mailing list