wok annotate busybox/stuff/busybox-1.16.1-ftpd.u @ rev 5684

Up busybox (1.16.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 04 17:00:07 2010 +0200 (2010-06-04)
parents
children
rev   line source
pascal@5684 1 --- busybox-1.16.1/networking/ftpd.c
pascal@5684 2 +++ busybox-1.16.1/networking/ftpd.c
pascal@5684 3 @@ -633,10 +633,10 @@
pascal@5684 4 argv[4] = NULL;
pascal@5684 5
pascal@5684 6 /* Improve compatibility with non-RFC conforming FTP clients
pascal@5684 7 - * which send e.g. "LIST -l", "LIST -la".
pascal@5684 8 + * which send e.g. "LIST -l", "LIST -la", "LIST -aL".
pascal@5684 9 * See https://bugs.kde.org/show_bug.cgi?id=195578 */
pascal@5684 10 if (ENABLE_FEATURE_FTPD_ACCEPT_BROKEN_LIST
pascal@5684 11 - && G.ftp_arg && G.ftp_arg[0] == '-' && G.ftp_arg[1] == 'l'
pascal@5684 12 + && G.ftp_arg && G.ftp_arg[0] == '-'
pascal@5684 13 ) {
pascal@5684 14 const char *tmp = strchr(G.ftp_arg, ' ');
pascal@5684 15 if (tmp) /* skip the space */