summaryrefslogtreecommitdiff
path: root/network/d4x/patches/newhttpd.diff
blob: ce5388adc5f144ff783f9d0a074c9001a7df6179 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- d4x-2.5.7.1/main/httpd.cc	2006-04-05 21:01:41.000000000 +0200
+++ d4x-2.5.7.1.src/main/httpd.cc	2006-04-27 20:55:24.000000000 +0200
@@ -581,7 +581,8 @@
 
 SocketPtr tHttpDownload::export_ctrl_socket(){
 	if (HTTP) return(HTTP->export_ctrl_socket());
-	return(SocketPtr());
+	SocketPtr dummy = SocketPtr();
+	return(dummy);
 };
 
 tHttpDownload::~tHttpDownload() {