diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-03-15 08:46:37 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-03-15 08:46:37 +0000 |
commit | 41fde650025d57fc0acdaaf7bd47bd20a5b109ad (patch) | |
tree | 9a7f0a05d2b4ae1298eb98b6268a478f89b68b5a | |
parent | b16674f3c1a961e0b5d6a57745f5f749d95c641e (diff) | |
download | busybox-w32-41fde650025d57fc0acdaaf7bd47bd20a5b109ad.tar.gz busybox-w32-41fde650025d57fc0acdaaf7bd47bd20a5b109ad.tar.bz2 busybox-w32-41fde650025d57fc0acdaaf7bd47bd20a5b109ad.zip |
Oops. Using the wrong variable was a rather stupid
thing for me to do.
git-svn-id: svn://busybox.net/trunk/busybox@8631 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | networking/ftpgetput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index 814253b53..a13aaa228 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c | |||
@@ -148,7 +148,7 @@ static int ftp_recieve(ftp_host_info_t *server, FILE *control_stream, | |||
148 | 148 | ||
149 | if (ftpcmd("SIZE ", server_path, control_stream, buf) == 213) { | 149 | if (ftpcmd("SIZE ", server_path, control_stream, buf) == 213) { |
150 | unsigned long value=filesize; | 150 | unsigned long value=filesize; |
151 | if (safe_strtoul(buf + 4, &filesize)) | 151 | if (safe_strtoul(buf + 4, &value)) |
152 | bb_error_msg_and_die("SIZE error: %s", buf + 4); | 152 | bb_error_msg_and_die("SIZE error: %s", buf + 4); |
153 | filesize = value; | 153 | filesize = value; |
154 | } | 154 | } |