diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-11 15:54:08 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-11 15:54:08 +0000 |
commit | 03fa645498d47b7dd07646e97f3c114c6d3b5883 (patch) | |
tree | 7b7fd98a637d6795ba838d8008f1a165daa04fec /url.c | |
parent | fix compiler warnings (diff) | |
download | w3m-03fa645498d47b7dd07646e97f3c114c6d3b5883.tar.gz w3m-03fa645498d47b7dd07646e97f3c114c6d3b5883.zip |
[w3m-dev 03633] Re: cleanup (don't close connection of news server)
* file.c (FTPhalfclose): deleted
(loadGeneralFile): closeFTP when doFileSave is done
(_doFileCopy): return int
(doFileMove): return int
(doFileSave): return int
* ftp.c: rewrite
* main.c (w3m_exit): disconnectFTP
* proto.h (_doFileCopy): return int
(doFileMove): return int
(doFileSave): return int
(openFTP): deleted
(openFTPStream): return InputStream
(closeFTP): no arg
(Ftpfclose): disconnectFTP
* url.c (openFTPstream): deleted
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | url.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,4 +1,4 @@ -/* $Id: url.c,v 1.67 2003/01/10 16:29:28 ukai Exp $ */ +/* $Id: url.c,v 1.68 2003/01/11 15:54:09 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include <sys/socket.h> @@ -1474,12 +1474,6 @@ init_stream(URLFile *uf, int scheme, InputStream stream) uf->modtime = -1; } -static InputStream -openFTPStream(ParsedURL *pu, URLFile *uf) -{ - return newFileStream(openFTP(pu, uf), closeFTP); -} - URLFile openURL(char *url, ParsedURL *pu, ParsedURL *current, URLOption *option, FormList *request, TextList *extra_header, |