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 /main.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 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.189 2003/01/10 16:42:52 ukai Exp $ */ +/* $Id: main.c,v 1.190 2003/01/11 15:54:09 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -5473,6 +5473,7 @@ w3m_exit(int i) #ifdef USE_SSL free_ssl_ctx(); #endif + disconnectFTP(); #ifdef USE_NNTP disconnectNews(); #endif |