From 71591555fd4069075e02a25c6403f300d9ecd59d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 7 Feb 2009 21:55:51 -0400 Subject: Added --leeway option (for quote downloading) into session_t. --- src/session.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/session.h') diff --git a/src/session.h b/src/session.h index ce1faa1c..231b6c73 100644 --- a/src/session.h +++ b/src/session.h @@ -106,6 +106,13 @@ public: OPTION(session_t, account_); // -a OPTION(session_t, download); // -Q + OPTION__ + (session_t, leeway_, + CTOR(session_t, leeway_) { value = 24L * 3600L; } + DO_(args) { + value = args[0].to_long() * 60L; + }); + OPTION__ (session_t, file_, // -f std::list data_files; -- cgit v1.2.3