ftpd: for LIST, open current directory *in the child*
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 27 Jun 2014 10:37:00 +0000 (12:37 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 27 Jun 2014 10:37:00 +0000 (12:37 +0200)
commit27c290f7f29fc57385d53893bfd7301db4708e9c
tree4ca6e2c6ed7b1a3e1d574015faca0350b94b094b
parenta6ae999b3b30ad522272325bac4c69b153150108
ftpd: for LIST, open current directory *in the child*

Last change introduced an open fd leak. This is the fix.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ftpd.c