aboutsummaryrefslogtreecommitdiffstats
path: root/ftp.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-18 18:26:13 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-18 18:26:13 +0000
commita70ace1fec6ea44bcf31f63d225502f2925ccc40 (patch)
tree0e3422a5b59fcc25928ffc2eaa9b7ae423d63e60 /ftp.c
parent[w3m-dev 03444] download from ftp. (diff)
downloadw3m-a70ace1fec6ea44bcf31f63d225502f2925ccc40.tar.gz
w3m-a70ace1fec6ea44bcf31f63d225502f2925ccc40.zip
ftp.c (ftp_fclose): void return
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'ftp.c')
-rw-r--r--ftp.c5
1 files changed, 3 insertions, 2 deletions
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