w3m

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

commit fa9fd3d543ae952a12a2037e6bf4399fdb0886bd
parent 0edb69b049cea09e7dbb79cf331f42e1b59e4545
Author: ukai <ukai>
Date:   Sat, 12 Jan 2002 15:34:34 +0000

[w3m-dev 02828]
From: Fumitoshi UKAI  <ukai@debian.or.jp>

Diffstat:
MChangeLog | 5+++++
Murl.c | 2++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2002-01-13 Fumitoshi UKAI <ukai@debian.or.jp> + + * [w3m-dev 02828] + * url.c (_parsedURL2Str): add '/' at the end when scheme is SCM_FTPDIR + 2002-01-12 Fumitoshi UKAI <ukai@debian.or.jp> * [w3m-dev 02829] diff --git a/url.c b/url.c @@ -1138,6 +1138,8 @@ _parsedURL2Str(ParsedURL *pu, int pass) ))) Strcat_char(tmp, '/'); Strcat_charp(tmp, pu->file); + if (pu->scheme == SCM_FTPDIR && Strlastchar(tmp) != '/') + Strcat_char(tmp, '/'); if (pu->query) { Strcat_char(tmp, '?'); Strcat_charp(tmp, pu->query);