summaryrefslogtreecommitdiff
path: root/src/SleepCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/SleepCommand.h')
-rw-r--r--src/SleepCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SleepCommand.h b/src/SleepCommand.h
index 3bbf4d1e..4da85a88 100644
--- a/src/SleepCommand.h
+++ b/src/SleepCommand.h
@@ -46,13 +46,13 @@ class SleepCommand:public Command {
private:
DownloadEngine* engine;
Command* nextCommand;
- int32_t wait;
+ time_t wait;
Time checkPoint;
bool isHaltRequested() const;
public:
- SleepCommand(int32_t cuid, DownloadEngine* e, Command* nextCommand, int32_t wait);
+ SleepCommand(int32_t cuid, DownloadEngine* e, Command* nextCommand, time_t wait);
virtual ~SleepCommand();
bool execute();
};