From 0aeedf43a0ac1d38b99af0508c635681dd6082bf Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Wed, 15 Jan 2003 16:24:25 +0000 Subject: * file.c (loadGopherDir): convertLine RAW_MODE * ftp.c (loadFTPDir): ditto * fix indent From: Fumitoshi UKAI --- ftp.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ftp.c') diff --git a/ftp.c b/ftp.c index 212dab9..ac9720c 100644 --- a/ftp.c +++ b/ftp.c @@ -1,4 +1,4 @@ -/* $Id: ftp.c,v 1.25 2003/01/15 16:14:41 ukai Exp $ */ +/* $Id: ftp.c,v 1.26 2003/01/15 16:24:25 ukai Exp $ */ #include #include #include @@ -456,7 +456,9 @@ loadFTPDir(ParsedURL *pu, char *code) if (Strlastchar(tmp) != '/') Strcat_char(tmp, '/'); fn = html_quote(tmp->ptr); - tmp = convertLine(NULL, Strnew_charp(file_unquote(tmp->ptr)), code, NULL); + tmp = + convertLine(NULL, Strnew_charp(file_unquote(tmp->ptr)), code, + RAW_MODE); q = html_quote(tmp->ptr); FTPDIRtmp = Strnew_m_charp("\n\n\n", q, @@ -525,7 +527,7 @@ loadFTPDir(ParsedURL *pu, char *code) } date++; len = strlen(fn); - tmp = convertLine(NULL, Strnew_charp(fn), code, NULL); + tmp = convertLine(NULL, Strnew_charp(fn), code, RAW_MODE); Strcat_m_charp(FTPDIRtmp, "<a href=\"", html_quote(file_quote(fn)), "\">", html_quote(tmp->ptr), NULL); if (ftype == FTPDIR_LINK) { @@ -557,7 +559,7 @@ loadFTPDir(ParsedURL *pu, char *code) qsort(flist, nfile, sizeof(char *), strCmp); for (i = 0; i < nfile; i++) { fn = flist[i]; - tmp = convertLine(NULL, Strnew_charp(fn), code, NULL); + tmp = convertLine(NULL, Strnew_charp(fn), code, RAW_MODE); Strcat_m_charp(FTPDIRtmp, "<li><a href=\"", html_quote(file_quote(fn)), "\">", html_quote(tmp->ptr), "</a>\n", NULL); -- cgit v1.2.3