w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 7cbc29f71e7b5d3b8c10c3f1fc42bc1fb3d4cbc6
parent 3dba660db67ecad95e584481b719e6bf58e6debe
Author: ukai <ukai>
Date:   Wed, 15 Jan 2003 16:14:40 +0000

[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 <hsaka@mth.biglobe.ne.jp>

Diffstat:
MChangeLog | 6++++++
Mftp.c | 2+-
Mnews.c | 2+-
3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,5 +1,11 @@ 2003-01-16 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + * [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 <hsaka@mth.biglobe.ne.jp> + * [w3m-dev 03640] Re: cleanup (don't close connection of news server) * anchor.c (_put_ahchor_news): always conv_str (_put_anchor_all): always conv_str diff --git a/ftp.c b/ftp.c @@ -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 @@ -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)