summaryrefslogtreecommitdiff
path: root/network/d4x/patches/newftpd.diff
blob: 4afa95f284d5b9f81dfc53703812ded0443d6c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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() {