aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ftp.c5
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 43fbe83..af99784 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-19 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * ftp.c (ftp_fclose): void return
+
2002-11-19 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03444] download from ftp.
@@ -4883,4 +4887,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.534 2002/11/18 18:10:35 ukai Exp $
+$Id: ChangeLog,v 1.535 2002/11/18 18:26:13 ukai Exp $
diff --git a/ftp.c b/ftp.c
index 1e8e137..0a8de3f 100644
--- a/ftp.c
+++ b/ftp.c
@@ -1,4 +1,4 @@
-/* $Id: ftp.c,v 1.14 2002/11/18 18:12:35 ukai Exp $ */
+/* $Id: ftp.c,v 1.15 2002/11/18 18:26:13 ukai Exp $ */
#include <stdio.h>
#include <pwd.h>
#include <Str.h>
@@ -249,7 +249,7 @@ ftp_pasv(FTP ftp)
return 0;
}
-static int
+static void
ftp_fclose(FTP ftp)
{
int control_closed = 0;
@@ -268,6 +268,7 @@ ftp_fclose(FTP ftp)
fclose(ftp->data);
ftp->data = NULL;
}
+ return;
}
int