From: Eric Andersen Date: Mon, 15 Mar 2004 08:46:37 +0000 (-0000) Subject: Oops. Using the wrong variable was a rather stupid X-Git-Tag: 1_00_pre9~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca65ca7d450ae6cbc0702e6b10925ccaef982bb4;p=platform%2Fupstream%2Fbusybox.git Oops. Using the wrong variable was a rather stupid thing for me to do. --- diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index 814253b..a13aaa2 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, if (ftpcmd("SIZE ", server_path, control_stream, buf) == 213) { unsigned long value=filesize; - if (safe_strtoul(buf + 4, &filesize)) + if (safe_strtoul(buf + 4, &value)) bb_error_msg_and_die("SIZE error: %s", buf + 4); filesize = value; }