summaryrefslogtreecommitdiffstats
path: root/crypto/telnet
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-12-16 06:06:06 +0000
committerpeter <peter@FreeBSD.org>1998-12-16 06:06:06 +0000
commite133ecebecd1a994ec06f158f482ecf79eeb4640 (patch)
treea426499ef2bc47ea50d552882fdedc1c7366af36 /crypto/telnet
parent4b96ed957d155bec106e538292e28cae1bd1b893 (diff)
downloadFreeBSD-src-e133ecebecd1a994ec06f158f482ecf79eeb4640.zip
FreeBSD-src-e133ecebecd1a994ec06f158f482ecf79eeb4640.tar.gz
Old stuff laying around: Don't use getstr which can conflict with some
curses/termcap/terminfo implementations and causes recursion.
Diffstat (limited to 'crypto/telnet')
-rw-r--r--crypto/telnet/libtelnet/getent.c2
-rw-r--r--crypto/telnet/telnetd/telnetd.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/crypto/telnet/libtelnet/getent.c b/crypto/telnet/libtelnet/getent.c
index 05626f1..5aa1049 100644
--- a/crypto/telnet/libtelnet/getent.c
+++ b/crypto/telnet/libtelnet/getent.c
@@ -55,7 +55,7 @@ char *cp, *name;
#ifndef SOLARIS
/*ARGSUSED*/
char *
-getstr(id, cpp)
+Getstr(id, cpp)
char *id, **cpp;
{
# ifdef HAS_CGETENT
diff --git a/crypto/telnet/telnetd/telnetd.c b/crypto/telnet/telnetd/telnetd.c
index f6eb9fb..acbf3a8 100644
--- a/crypto/telnet/telnetd/telnetd.c
+++ b/crypto/telnet/telnetd/telnetd.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static const char sccsid[] = "@(#)telnetd.c 8.4 (Berkeley) 5/30/95";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: telnetd.c,v 1.4 1998/02/16 12:09:27 markm Exp $";
#endif /* not lint */
#include "telnetd.h"
@@ -1135,12 +1135,12 @@ telnet(f, p, host)
#endif
if (getent(defent, "default") == 1) {
- char *getstr();
+ char *Getstr();
char *cp=defstrs;
- HE = getstr("he", &cp);
- HN = getstr("hn", &cp);
- IM = getstr("im", &cp);
+ HE = Getstr("he", &cp);
+ HN = Getstr("hn", &cp);
+ IM = Getstr("im", &cp);
if (HN && *HN)
(void) strcpy(host_name, HN);
if (IM == 0)
OpenPOWER on IntegriCloud