slackbuilds_ponce/network/d4x/patches/newftpd.diff
2010-05-12 23:32:01 +02:00

12 lines
361 B
Diff

--- d4x-2.5.7.1/main/ftpd.cc 2006-04-05 21:02:36.000000000 +0200
+++ d4x-2.5.7.1.src/main/ftpd.cc 2006-04-27 20:44:51.000000000 +0200
@@ -663,7 +663,8 @@
SocketPtr tFtpDownload::export_ctrl_socket(){
if (FTP) return(FTP->export_ctrl_socket());
- return(SocketPtr());
+ SocketPtr dummy = SocketPtr();
+ return(dummy);
};
tFtpDownload::~tFtpDownload() {