Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2003 23:49:02 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 30757 for review
Message-ID:  <200305080649.h486n258009073@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=30757

Change 30757 by peter@peter_daintree on 2003/05/07 23:48:51

	make the debug variable static.  Will the real telnetd please
	stand up?

Affected files ...

.. //depot/projects/hammer/crypto/heimdal/appl/telnet/telnetd/telnetd.c#3 edit
.. //depot/projects/hammer/crypto/telnet/telnetd/telnetd.c#3 edit
.. //depot/projects/hammer/libexec/telnetd/telnetd.c#2 edit

Differences ...

==== //depot/projects/hammer/crypto/heimdal/appl/telnet/telnetd/telnetd.c#3 (text+ko) ====

@@ -116,7 +116,7 @@
 int	lowpty = 0, highpty;	/* low, high pty numbers */
 #endif /* CRAY */
 
-int debug = 0;
+static int debug = 0;
 int keepalive = 1;
 char *progname;
 

==== //depot/projects/hammer/crypto/telnet/telnetd/telnetd.c#3 (text+ko) ====

@@ -78,7 +78,7 @@
 
 int	hostinfo = 1;			/* do we print login banner? */
 
-int debug = 0;
+static int debug = 0;
 int keepalive = 1;
 const char *altlogin;
 

==== //depot/projects/hammer/libexec/telnetd/telnetd.c#2 (text+ko) ====

@@ -71,7 +71,7 @@
 
 int	hostinfo = 1;			/* do we print login banner? */
 
-int debug = 0;
+debug int debug = 0;
 int keepalive = 1;
 const char *altlogin;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305080649.h486n258009073>