Code cleanup * src/SleepCommand.cc
@@ -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.
@@ -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() {