aboutsummaryrefslogtreecommitdiff
path: root/toys/net
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-09-08 15:42:02 -0500
committerRob Landley <rob@landley.net>2018-09-08 15:42:50 -0500
commit288321ac86375450f5f57990201a56c385936323 (patch)
tree4becf32d768faee3e45f235aeef3d8955ef442ad /toys/net
parentef3044114acac33c8231ace80766ec6d9133150a (diff)
downloadtoybox-288321ac86375450f5f57990201a56c385936323.tar.gz
Tweaks to make building with Android NDK's llvm happier.
Diffstat (limited to 'toys/net')
-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 f41e05b9..9d6f6fd7 100644
--- a/toys/net/ftpget.c
+++ b/toys/net/ftpget.c
@@ -93,7 +93,7 @@ static int ftp_line(char *cmd, char *arg, int must)
void ftpget_main(void)
{
struct sockaddr_in6 si6;
- int rc, ii = 1, port;
+ int rc, ii = 1, port = 0;
socklen_t sl = sizeof(si6);
char *s, *remote = toys.optargs[2];
unsigned long long lenl = 0, lenr;