aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/ftpget.c
diff options
context:
space:
mode:
authorAshwini Sharma <ak.ashwini1981@gmail.com>2014-07-14 05:44:29 -0500
committerAshwini Sharma <ak.ashwini1981@gmail.com>2014-07-14 05:44:29 -0500
commit30f6ef5fcd571c554c2c59585d126b92793379d0 (patch)
tree9f4d0292ba4edcb03b653913620422b3d7c4dc98 /toys/pending/ftpget.c
parentfbe5dda4d488fdd9961ef1fd21beee59467d8e29 (diff)
downloadtoybox-30f6ef5fcd571c554c2c59585d126b92793379d0.tar.gz
fdisk : partitions > 60, are deleted, offset entry for extended partitions was wrong.
fsck: memory leak/segfault resolved. ftpget : warning for unused variable 'ptr' removed.
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;