2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Code cleanup
	* src/SleepCommand.cc
pull/1/head
Tatsuhiro Tsujikawa 2010-03-22 14:59:58 +00:00
parent f2c97658c1
commit bd3098faf4
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Code cleanup
* src/SleepCommand.cc
2010-03-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Do exact match if IP address is specified in --no-proxy.

View File

@ -47,9 +47,7 @@ SleepCommand::SleepCommand(cuid_t cuid, DownloadEngine* e,
nextCommand(nextCommand), wait(wait) {}
SleepCommand::~SleepCommand() {
if(nextCommand) {
delete(nextCommand);
}
delete nextCommand;
}
bool SleepCommand::execute() {