rename getline -> ftpd_getline

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6160 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-05-08 02:22:57 +00:00
parent 7fb35ff530
commit f88e911ef5
2 changed files with 4 additions and 4 deletions

View File

@@ -985,10 +985,10 @@ lookup(struct tab *p, char *cmd)
}
/*
* getline - a hacked up version of fgets to ignore TELNET escape codes.
* ftpd_getline - a hacked up version of fgets to ignore TELNET escape codes.
*/
char *
getline(char *s, int n)
ftpd_getline(char *s, int n)
{
int c;
char *cs;
@@ -1089,7 +1089,7 @@ yylex(void)
case CMD:
signal(SIGALRM, toolong);
alarm((unsigned) ftpd_timeout);
if (getline(cbuf, sizeof(cbuf)-1) == NULL) {
if (ftpd_getline(cbuf, sizeof(cbuf)-1) == NULL) {
reply(221, "You could at least say goodbye.");
dologout(0);
}

View File

@@ -1736,7 +1736,7 @@ myoob(int signo)
#if 0
cp = tmpline;
if (getline(cp, 7) == NULL) {
if (ftpd_getline(cp, 7) == NULL) {
reply(221, "You could at least say goodbye.");
dologout(0);
}