From 032c7c28083e17bdcfd763b3cf81447b06a07978 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 9 Mar 2008 12:24:01 +0000 Subject: 2008-03-09 Tatsuhiro Tsujikawa type cleanup for allmost all remaining files. --- src/AbstractCommand.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/AbstractCommand.h') 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 req; DownloadEngine* e; @@ -61,7 +61,7 @@ protected: std::deque > _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& 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); -- cgit