aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-11 15:54:08 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-11 15:54:08 +0000
commit03fa645498d47b7dd07646e97f3c114c6d3b5883 (patch)
tree7b7fd98a637d6795ba838d8008f1a165daa04fec /main.c
parentfix compiler warnings (diff)
downloadw3m-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 50f3320..60cb0a6 100644
--- a/main.c
+++ b/main.c
@@ -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