fix vsftpd compile error (#1409)
[openwrt/svn-archive/archive.git] / net / vsftpd / patches / 03-chroot.patch
1 --- vsftpd-2.0.4-orig/tunables.c 2006-01-07 20:32:44.000000000 +0100
2 +++ vsftpd-2.0.4/tunables.c 2006-01-11 18:25:15.000000000 +0100
3 @@ -92,7 +92,7 @@
4 unsigned int tunable_max_per_ip = 0;
5 unsigned int tunable_trans_chunk_size = 0;
6
7 -const char* tunable_secure_chroot_dir = "/usr/share/empty";
8 +const char* tunable_secure_chroot_dir = "/var/run/vsftpd";
9 const char* tunable_ftp_username = "ftp";
10 const char* tunable_chown_username = "root";
11 const char* tunable_xferlog_file = "/var/log/xferlog";