From 133f759a0db70861cea143d408283701a87f554e Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 31 Mar 2006 14:46:48 +0000 Subject: make socket parameter in *Command contructor const --- src/HttpProxyRequestCommand.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/HttpProxyRequestCommand.cc') diff --git a/src/HttpProxyRequestCommand.cc b/src/HttpProxyRequestCommand.cc index f1a5a8c9..196fca31 100644 --- a/src/HttpProxyRequestCommand.cc +++ b/src/HttpProxyRequestCommand.cc @@ -23,7 +23,7 @@ #include "HttpConnection.h" #include "HttpProxyResponseCommand.h" -HttpProxyRequestCommand::HttpProxyRequestCommand(int cuid, Request* req, DownloadEngine* e, Socket* s):AbstractCommand(cuid, req, e, s) { +HttpProxyRequestCommand::HttpProxyRequestCommand(int cuid, Request* req, DownloadEngine* e, const Socket* s):AbstractCommand(cuid, req, e, s) { setReadCheckSocket(NULL); setWriteCheckSocket(socket); } -- cgit