[BusyBox-cvs] busybox/networking ftpgetput.c,1.16,1.17
Erik Andersen
andersen at busybox.net
Mon Mar 15 08:46:39 UTC 2004
Update of /var/cvs/busybox/networking
In directory nail:/tmp/cvs-serv24545/networking
Modified Files:
ftpgetput.c
Log Message:
Oops. Using the wrong variable was a rather stupid
thing for me to do.
Index: ftpgetput.c
===================================================================
RCS file: /var/cvs/busybox/networking/ftpgetput.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- a/ftpgetput.c 15 Mar 2004 08:28:48 -0000 1.16
+++ b/ftpgetput.c 15 Mar 2004 08:46:37 -0000 1.17
@@ -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;
}
More information about the busybox-cvs
mailing list