diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-12 13:39:33 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-12 13:39:33 +0000 |
| commit | 95f5c589036c95f58b83441513d9c7c3f16f27bc (patch) | |
| tree | 382075f5f39dfda29a186eb66441db4f71c54141 /src/RequestSlot.cc | |
| parent | c0872559845d0ae4e93233035f32eaefe12572fd (diff) | |
2010-06-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Renamed member variables.
* src/RequestSlot.cc
* src/RequestSlot.h
Diffstat (limited to 'src/RequestSlot.cc')
| -rw-r--r-- | src/RequestSlot.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/RequestSlot.cc b/src/RequestSlot.cc index 4bf9cda6..909aab66 100644 --- a/src/RequestSlot.cc +++ b/src/RequestSlot.cc @@ -40,16 +40,16 @@ namespace aria2 { RequestSlot RequestSlot::nullSlot = RequestSlot(); void RequestSlot::setDispatchedTime(time_t sec) { - dispatchedTime.reset(sec); + _dispatchedTime.reset(sec); } bool RequestSlot::isTimeout(time_t timeoutSec) const { - return dispatchedTime.difference(global::wallclock) >= timeoutSec; + return _dispatchedTime.difference(global::wallclock) >= timeoutSec; } bool RequestSlot::isNull(const RequestSlot& requestSlot) { - return requestSlot.index == 0 && requestSlot.begin == 0&& - requestSlot.length == 0; + return requestSlot._index == 0 && requestSlot._begin == 0&& + requestSlot._length == 0; } } // namespace aria2 |
