summaryrefslogtreecommitdiff
path: root/net/tnftp/files/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tnftp/files/src/util.c')
-rw-r--r--net/tnftp/files/src/util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/tnftp/files/src/util.c b/net/tnftp/files/src/util.c
index 33d4ea823e1..4c71faa7859 100644
--- a/net/tnftp/files/src/util.c
+++ b/net/tnftp/files/src/util.c
@@ -1,4 +1,4 @@
-/* $NetBSD: util.c,v 1.8 2008/04/29 05:46:09 martin Exp $ */
+/* $NetBSD: util.c,v 1.9 2009/09/22 20:39:18 tnn Exp $ */
/* from NetBSD: util.c,v 1.143 2007/05/24 05:05:19 lukem Exp */
/*-
@@ -415,7 +415,7 @@ ftp_login(const char *host, const char *luser, const char *lpass)
else
fprintf(ttyout, "Name (%s): ", host);
errormsg = NULL;
- nlen = getline(stdin, tmp, sizeof(tmp), &errormsg);
+ nlen = get_line(stdin, tmp, sizeof(tmp), &errormsg);
if (nlen < 0) {
fprintf(ttyout, "%s; %s aborted.\n", errormsg, "login");
code = -1;
@@ -523,7 +523,7 @@ another(int *pargc, char ***pargv, const char *prompt)
fprintf(ttyout, "(%s) ", prompt);
line[len++] = ' ';
errormsg = NULL;
- nlen = getline(stdin, line + len, sizeof(line)-len, &errormsg);
+ nlen = get_line(stdin, line + len, sizeof(line)-len, &errormsg);
if (nlen < 0) {
fprintf(ttyout, "%s; %s aborted.\n", errormsg, "operation");
intr(0);
@@ -1288,7 +1288,7 @@ isipv6addr(const char *addr)
* -3 line was too long
*/
int
-getline(FILE *stream, char *buf, size_t buflen, const char **errormsg)
+get_line(FILE *stream, char *buf, size_t buflen, const char **errormsg)
{
int rv, ch;
size_t len;