From 9e49e562879472dbae334c47ca5783eac3f85591 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Wed, 15 Jan 2003 16:14:40 +0000 Subject: [w3m-dev 03641] Re: cleanup (don't close connection of news server) * ftp.c (ftp_command): fix fwrite arg * news.c (news_command): fix fwrite arg From: Hironori SAKAMOTO --- ChangeLog | 8 +++++++- ftp.c | 4 ++-- news.c | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8f23913..e18aed3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-01-16 Hironori SAKAMOTO + + * [w3m-dev 03641] Re: cleanup (don't close connection of news server) + * ftp.c (ftp_command): fix fwrite arg + * news.c (news_command): fix fwrite arg + 2003-01-16 Hironori SAKAMOTO * [w3m-dev 03640] Re: cleanup (don't close connection of news server) @@ -6460,4 +6466,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.681 2003/01/15 16:11:43 ukai Exp $ +$Id: ChangeLog,v 1.682 2003/01/15 16:14:40 ukai Exp $ diff --git a/ftp.c b/ftp.c index 447f210..212dab9 100644 --- a/ftp.c +++ b/ftp.c @@ -1,4 +1,4 @@ -/* $Id: ftp.c,v 1.24 2003/01/15 16:11:43 ukai Exp $ */ +/* $Id: ftp.c,v 1.25 2003/01/15 16:14:41 ukai Exp $ */ #include #include #include @@ -47,7 +47,7 @@ ftp_command(FTP ftp, char *cmd, char *arg, int *status) tmp = Sprintf("%s %s\r\n", cmd, arg); else tmp = Sprintf("%s\r\n", cmd); - fwrite(tmp->ptr, tmp->length, sizeof(char), ftp->wf); + fwrite(tmp->ptr, sizeof(char), tmp->length, ftp->wf); fflush(ftp->wf); } if (!status) diff --git a/news.c b/news.c index 689d64b..e95a0ba 100644 --- a/news.c +++ b/news.c @@ -1,4 +1,4 @@ -/* $Id: news.c,v 1.12 2003/01/15 16:11:43 ukai Exp $ */ +/* $Id: news.c,v 1.13 2003/01/15 16:14:41 ukai Exp $ */ #include "fm.h" #include "myctype.h" #include @@ -44,7 +44,7 @@ news_command(News * news, char *cmd, char *arg, int *status) tmp = Sprintf("%s %s\r\n", cmd, arg); else tmp = Sprintf("%s\r\n", cmd); - fwrite(tmp->ptr, tmp->length, sizeof(char), news->wf); + fwrite(tmp->ptr, sizeof(char), tmp->length, news->wf); fflush(news->wf); } if (!status) -- cgit v1.2.3