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/DownloadCommand.h | |
| parent | e6e017756096d53417622c0a4048d1dfb4340f49 (diff) | |
make socket parameter in *Command contructor const
Diffstat (limited to 'src/DownloadCommand.h')
| -rw-r--r-- | src/DownloadCommand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DownloadCommand.h b/src/DownloadCommand.h index 79aaf2e5..31d39302 100644 --- a/src/DownloadCommand.h +++ b/src/DownloadCommand.h @@ -39,7 +39,7 @@ protected: bool prepareForRetry(int wait); bool prepareForNextSegment(); public: - DownloadCommand(int cuid, Request* req, DownloadEngine* e, Socket* s); + DownloadCommand(int cuid, Request* req, DownloadEngine* e, const Socket* s); virtual ~DownloadCommand(); virtual TransferEncoding* getTransferEncoding(string transferEncoding) = 0; |
