chuck 97/04/12 22:00:56
Modified: src/modules/proxy proxy_ftp.c Log: Further fine tune for FTP dir display when FTP server fails to format files of very large size properly. Revision Changes Path 1.18 +2 -1 apache/src/modules/proxy/proxy_ftp.c Index: proxy_ftp.c =================================================================== RCS file: /export/home/cvs/apache/src/modules/proxy/proxy_ftp.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C3 -r1.17 -r1.18 *** proxy_ftp.c 1997/04/11 05:10:51 1.17 --- proxy_ftp.c 1997/04/13 05:00:54 1.18 *************** *** 275,281 **** searchptr = filename; searchidx = filename - buf; } ! else if (searchptr != NULL && searchidx != 0) { *(--filename) = ' '; buf[searchidx - 1] = 0; filename = &buf[searchidx]; --- 275,282 ---- searchptr = filename; searchidx = filename - buf; } ! else if (searchptr != NULL && searchidx != 0 && ! buf[searchidx] != 0) { *(--filename) = ' '; buf[searchidx - 1] = 0; filename = &buf[searchidx];