diff options
author | Peter Wemm <peter@FreeBSD.org> | 1998-12-16 06:04:29 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1998-12-16 06:04:29 +0000 |
commit | 3cc1b1bf9ce26585791f0e6a6a654877fc09ef9a (patch) | |
tree | e3e1abfc862889f14d180a85661023e55bb6c5e4 /libexec/telnetd | |
parent | 3f0340f8380a31b202f649cba5b820bd673aca93 (diff) | |
download | src-3cc1b1bf9ce26585791f0e6a6a654877fc09ef9a.tar.gz src-3cc1b1bf9ce26585791f0e6a6a654877fc09ef9a.zip |
Old stuff laying around: Don't use a function called getstr(), that has
nasty consequences when the system curses is ncurses as this conflicts
with a ncurses funciton and causes recursion.
Notes
Notes:
svn path=/head/; revision=41857
Diffstat (limited to 'libexec/telnetd')
-rw-r--r-- | libexec/telnetd/telnetd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libexec/telnetd/telnetd.c b/libexec/telnetd/telnetd.c index 7018fdc12dae..37564e343518 100644 --- a/libexec/telnetd/telnetd.c +++ b/libexec/telnetd/telnetd.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)telnetd.c 8.2 (Berkeley) 12/15/93"; #endif static const char rcsid[] = - "$Id: telnetd.c,v 1.13 1997/12/03 07:16:05 charnier Exp $"; + "$Id: telnetd.c,v 1.14 1998/04/26 06:51:36 phk Exp $"; #endif /* not lint */ #include "telnetd.h" @@ -1091,13 +1091,13 @@ 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); - IF = getstr("if", &cp); + HE = Getstr("he", &cp); + HN = Getstr("hn", &cp); + IM = Getstr("im", &cp); + IF = Getstr("if", &cp); if (HN && *HN) (void) strcpy(host_name, HN); if (IF && (if_fd = open(IF, O_RDONLY, 000)) != -1) |