commit | ca65ca7d450ae6cbc0702e6b10925ccaef982bb4 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Mon Mar 15 08:46:37 2004 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Mon Mar 15 08:46:37 2004 +0000 |
tree | 9a7f0a05d2b4ae1298eb98b6268a478f89b68b5a | |
parent | c7bda1ce659294d6e22c06e087f6f265983c7578 [diff] |
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 @@ 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; }