summaryrefslogtreecommitdiff
path: root/src/HttpSkipResponseCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-08 14:11:36 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-08 14:11:36 +0000
commit7cd9b21937c42606354610c7ae85a0857b474cf5 (patch)
tree21edec9e14d7bde8cfa705840a6e9756b732e1e5 /src/HttpSkipResponseCommand.cc
parent2dc4bf01ad3b9be3de22696128e8007cf81a5345 (diff)
2010-06-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made public member variables of DownloadEngine private. Added accessor funcs.
Diffstat (limited to 'src/HttpSkipResponseCommand.cc')
-rw-r--r--src/HttpSkipResponseCommand.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/HttpSkipResponseCommand.cc b/src/HttpSkipResponseCommand.cc
index 3e4e286e..51dbfebf 100644
--- a/src/HttpSkipResponseCommand.cc
+++ b/src/HttpSkipResponseCommand.cc
@@ -54,6 +54,10 @@
#include "AuthConfigFactory.h"
#include "AuthConfig.h"
#include "DownloadContext.h"
+#include "RequestGroupMan.h"
+#include "FileAllocationEntry.h"
+#include "CheckIntegrityEntry.h"
+#include "ServerStatMan.h"
namespace aria2 {
@@ -137,7 +141,7 @@ bool HttpSkipResponseCommand::executeInternal()
return processResponse();
} else {
setWriteCheckSocketIf(socket, socket->wantWrite());
- e->commands.push_back(this);
+ e->addCommand(this);
return false;
}
}