Blame SOURCES/netkit-ftp-0.17-fdleak.patch

f0a907
diff -up netkit-ftp-0.17/ftp/cmds.c.old netkit-ftp-0.17/ftp/cmds.c
f0a907
--- netkit-ftp-0.17/ftp/cmds.c.old	2007-10-17 16:28:57.000000000 +0200
f0a907
+++ netkit-ftp-0.17/ftp/cmds.c	2007-10-17 16:33:41.000000000 +0200
f0a907
@@ -764,6 +764,7 @@ usage:
f0a907
 
f0a907
 	recvrequest("RETR", argv[2], argv[1], modestr,
f0a907
 		    argv[1] != oldargv1 || argv[2] != oldargv2);
f0a907
+	(void) close(data), data = -1;
f0a907
 	restart_point = 0;
f0a907
 	return (0);
f0a907
 }