aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2017-07-17 05:37:05 -0500
committerRob Landley <rob@landley.net>2017-07-17 05:37:05 -0500
commit8d6d9bf4f1a3caa0decb058dece8c4b4bd463e4a (patch)
treef048f6045eda683c1a9fcb9120775a322fce9472 /toys
parente3993eb9ed8e2d5015702400bc2ce9dd6ffa4f2a (diff)
downloadtoybox-8d6d9bf4f1a3caa0decb058dece8c4b4bd463e4a.tar.gz
typo
Diffstat (limited to 'toys')
-rw-r--r--toys/net/ftpget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/net/ftpget.c b/toys/net/ftpget.c
index 3c63905e..f41e05b9 100644
--- a/toys/net/ftpget.c
+++ b/toys/net/ftpget.c
@@ -107,7 +107,7 @@ void ftpget_main(void)
if (!remote) remote = toys.optargs[1];
// connect
- TT.fd = xconnect(xgetaddrifo(*toys.optargs, TT.port, 0, SOCK_STREAM, 0,
+ TT.fd = xconnect(xgetaddrinfo(*toys.optargs, TT.port, 0, SOCK_STREAM, 0,
AI_ADDRCONFIG));
if (getpeername(TT.fd, (void *)&si6, &sl)) perror_exit("getpeername");