summaryrefslogtreecommitdiff
path: root/src/HttpResponseCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-03-31 14:46:48 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-03-31 14:46:48 +0000
commit133f759a0db70861cea143d408283701a87f554e (patch)
treef772b2f5a4b7e3362180dd0502fcf771151febf2 /src/HttpResponseCommand.cc
parente6e017756096d53417622c0a4048d1dfb4340f49 (diff)
make socket parameter in *Command contructor const
Diffstat (limited to 'src/HttpResponseCommand.cc')
-rw-r--r--src/HttpResponseCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpResponseCommand.cc b/src/HttpResponseCommand.cc
index d6717d15..be9826e1 100644
--- a/src/HttpResponseCommand.cc
+++ b/src/HttpResponseCommand.cc
@@ -30,7 +30,7 @@
// TODO
#include "TorrentDownloadEngine.h"
-HttpResponseCommand::HttpResponseCommand(int cuid, Request* req, DownloadEngine* e, Socket* s):
+HttpResponseCommand::HttpResponseCommand(int cuid, Request* req, DownloadEngine* e, const Socket* s):
AbstractCommand(cuid, req, e, s) {
http = new HttpConnection(cuid, socket, req, e->option, e->logger);
}