http://code.google.com/p/ftpii/source/detail?r=293
Modified:
/branches/0.0.21/README.txt
/branches/0.0.21/source/ftp.c
=======================================
--- /branches/0.0.21/README.txt Sun Dec 20 07:39:21 2009
+++ /branches/0.0.21/README.txt Fri Feb 12 16:37:18 2010
@@ -33,6 +33,7 @@
For subversion changes since 0.0.6, see
http://code.google.com/p/ftpii/source/list
+20100213 0.0.21 Fixed active-mode transfers. (thanks closms!)
20091221 0.0.20 Make release ZIP structure compatible with HBC's new
wiiload.
Attempt to reinitialise network after failure.
Added OTP filesystem support at /otp (libotp).
=======================================
--- /branches/0.0.21/source/ftp.c Sun Dec 20 07:24:37 2009
+++ /branches/0.0.21/source/ftp.c Fri Feb 12 16:37:18 2010
@@ -766,7 +766,7 @@
}
} else {
if ((result = net_connect(client->data_socket, (struct
sockaddr *)&client->address, sizeof(client->address))) < 0) {
- if (result == -EINPROGRESS) result = -EAGAIN;
+ if (result == -EINPROGRESS || result == -EALREADY) result
= -EAGAIN;
if (result != -EAGAIN && result != -EISCONN)
printf("Unable to connect to client: [%i] %s\n", -result,
strerror(-result));
}
if (result >= 0 || result == -EISCONN) {