aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/ftpget.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/pending/ftpget.c')
-rw-r--r--toys/pending/ftpget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/ftpget.c b/toys/pending/ftpget.c
index 8643badb..a68ceeb6 100644
--- a/toys/pending/ftpget.c
+++ b/toys/pending/ftpget.c
@@ -129,7 +129,7 @@ static void send_requests(void)
static void get_sockaddr(char *host)
{
struct addrinfo hints, *result;
- char *ptr, port[6];
+ char port[6];
int status;
errno = 0;