diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-21 13:51:56 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-21 13:51:56 +0000 |
| commit | ca4940622c05e50a50f77c621ade914029663446 (patch) | |
| tree | 2715d87c6b4faa669ae317f6f95d9694630cd4a0 /src/HttpDownloadCommand.cc | |
| parent | ae957baa98d4f97ea2437596db5073f9c33d22ae (diff) | |
2010-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed naming standards for class member variable: now it looks
like var_ instead of _var.
Diffstat (limited to 'src/HttpDownloadCommand.cc')
| -rw-r--r-- | src/HttpDownloadCommand.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/HttpDownloadCommand.cc b/src/HttpDownloadCommand.cc index 7ff66769..5727ed6f 100644 --- a/src/HttpDownloadCommand.cc +++ b/src/HttpDownloadCommand.cc @@ -65,8 +65,8 @@ HttpDownloadCommand::HttpDownloadCommand DownloadEngine* e, const SocketHandle& socket) :DownloadCommand(cuid, req, fileEntry, requestGroup, e, socket), - _httpResponse(httpResponse), - _httpConnection(httpConnection) {} + httpResponse_(httpResponse), + httpConnection_(httpConnection) {} HttpDownloadCommand::~HttpDownloadCommand() {} @@ -75,7 +75,7 @@ bool HttpDownloadCommand::prepareForNextSegment() { if(getRequest()->isPipeliningEnabled() && !downloadFinished) { HttpRequestCommand* command = new HttpRequestCommand(getCuid(), getRequest(), getFileEntry(), - getRequestGroup(), _httpConnection, + getRequestGroup(), httpConnection_, getDownloadEngine(), getSocket()); // Set proxy request here. aria2 sends the HTTP request specialized for // proxy. @@ -121,7 +121,7 @@ bool HttpDownloadCommand::prepareForNextSegment() { getFileEntry()->getLastOffset())); if(lastOffset == - _httpResponse->getHttpHeader()->getRange()->getEndByte()+1) { + httpResponse_->getHttpHeader()->getRange()->getEndByte()+1) { return prepareForRetry(0); } } |
