diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-03-31 14:46:48 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-03-31 14:46:48 +0000 |
| commit | 133f759a0db70861cea143d408283701a87f554e (patch) | |
| tree | f772b2f5a4b7e3362180dd0502fcf771151febf2 /src/HttpRequestCommand.cc | |
| parent | e6e017756096d53417622c0a4048d1dfb4340f49 (diff) | |
make socket parameter in *Command contructor const
Diffstat (limited to 'src/HttpRequestCommand.cc')
| -rw-r--r-- | src/HttpRequestCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpRequestCommand.cc b/src/HttpRequestCommand.cc index 84439b6b..2ca9455e 100644 --- a/src/HttpRequestCommand.cc +++ b/src/HttpRequestCommand.cc @@ -23,7 +23,7 @@ #include "HttpResponseCommand.h" #include "HttpConnection.h" -HttpRequestCommand::HttpRequestCommand(int cuid, Request* req, DownloadEngine* e, Socket* s):AbstractCommand(cuid, req, e, s) { +HttpRequestCommand::HttpRequestCommand(int cuid, Request* req, DownloadEngine* e, const Socket* s):AbstractCommand(cuid, req, e, s) { setReadCheckSocket(NULL); setWriteCheckSocket(socket); } |
