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/HttpResponseCommand.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/HttpResponseCommand.cc')
| -rw-r--r-- | src/HttpResponseCommand.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/HttpResponseCommand.cc b/src/HttpResponseCommand.cc index 30f7045a..c1b94848 100644 --- a/src/HttpResponseCommand.cc +++ b/src/HttpResponseCommand.cc @@ -87,15 +87,15 @@ HttpResponseCommand::HttpResponseCommand DownloadEngine* e, const SocketHandle& s) :AbstractCommand(cuid, req, fileEntry, requestGroup, e, s), - _httpConnection(httpConnection) + httpConnection_(httpConnection) {} HttpResponseCommand::~HttpResponseCommand() {} bool HttpResponseCommand::executeInternal() { - SharedHandle<HttpRequest> httpRequest =_httpConnection->getFirstHttpRequest(); - SharedHandle<HttpResponse> httpResponse = _httpConnection->receiveResponse(); + SharedHandle<HttpRequest> httpRequest =httpConnection_->getFirstHttpRequest(); + SharedHandle<HttpResponse> httpResponse = httpConnection_->receiveResponse(); if(httpResponse.isNull()) { // The server has not responded to our request yet. // For socket->wantRead() == true, setReadCheckSocket(socket) is already @@ -364,7 +364,7 @@ bool HttpResponseCommand::skipResponseBody HttpSkipResponseCommand* command = new HttpSkipResponseCommand (getCuid(), getRequest(), getFileEntry(), getRequestGroup(), - _httpConnection, httpResponse, + httpConnection_, httpResponse, getDownloadEngine(), getSocket()); command->setTransferEncodingDecoder(decoder); @@ -392,7 +392,7 @@ HttpDownloadCommand* HttpResponseCommand::createHttpDownloadCommand HttpDownloadCommand* command = new HttpDownloadCommand(getCuid(), getRequest(), getFileEntry(), getRequestGroup(), - httpResponse, _httpConnection, + httpResponse, httpConnection_, getDownloadEngine(), getSocket()); command->setStartupIdleTime(getOption()->getAsInt(PREF_STARTUP_IDLE_TIME)); command->setLowestDownloadSpeedLimit |
