Ver Fonte

2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

	Call Download::setNoWait(true) to execute newly created command 
without
	a pause.
	* src/AbstractCommand.cc
Tatsuhiro Tsujikawa há 17 anos atrás
pai
commit
369aff31c2
2 ficheiros alterados com 7 adições e 0 exclusões
  1. 6 0
      ChangeLog
  2. 1 0
      src/AbstractCommand.cc

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+2008-09-14  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
+
+	Call Download::setNoWait(true) to execute newly created command without
+	a pause.
+	* src/AbstractCommand.cc
+
 2008-09-10  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 
 	Added --max-file-not-found=NUM option. If aria2 receives `file not

+ 1 - 0
src/AbstractCommand.cc

@@ -189,6 +189,7 @@ void AbstractCommand::tryReserved() {
   _requestGroup->removeServerHost(cuid);
   Commands commands;
   _requestGroup->createNextCommand(commands, e, 1);
+  e->setNoWait(true);
   e->addCommand(commands);
 }