wok-stable view busybox/stuff/busybox-1.16.1-ftpd.u @ rev 5692

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