summaryrefslogtreecommitdiff
path: root/src/AbstractCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
commit032c7c28083e17bdcfd763b3cf81447b06a07978 (patch)
treee5cc5ceb050773165df41eb7f0aed3f2a48205a0 /src/AbstractCommand.h
parentca3f6e57f35c67f67c3b4f64cedded8ca23237e8 (diff)
2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
type cleanup for allmost all remaining files.
Diffstat (limited to 'src/AbstractCommand.h')
-rw-r--r--src/AbstractCommand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AbstractCommand.h b/src/AbstractCommand.h
index a92555e1..4f152699 100644
--- a/src/AbstractCommand.h
+++ b/src/AbstractCommand.h
@@ -53,7 +53,7 @@ class SocketCore;
class AbstractCommand : public Command, public RequestGroupAware {
private:
Time checkPoint;
- int32_t timeout;
+ time_t timeout;
protected:
SharedHandle<Request> req;
DownloadEngine* e;
@@ -61,7 +61,7 @@ protected:
std::deque<SharedHandle<Segment> > _segments;
void tryReserved();
- virtual bool prepareForRetry(int32_t wait);
+ virtual bool prepareForRetry(time_t wait);
virtual void onAbort(Exception* ex);
virtual bool executeInternal() = 0;
@@ -76,7 +76,7 @@ protected:
void disableNameResolverCheck(const SharedHandle<NameResolver>& resolver);
virtual bool nameResolveFinished() const;
#endif // ENABLE_ASYNC_DNS
- void setTimeout(int32_t timeout) { this->timeout = timeout; }
+ void setTimeout(time_t timeout) { this->timeout = timeout; }
void prepareForNextAction(Command* nextCommand = 0);