diff --git a/docs/manual.html b/docs/manual.html
index 597827a3e..b2b432f40 100755
--- a/docs/manual.html
+++ b/docs/manual.html
@@ -662,6 +662,7 @@ struct torrent_status
};
state_t state;
+ bool paused;
float progress;
boost::posix_time::time_duration next_announce;
boost::posix_time::time_duration announce_interval;
@@ -717,6 +718,7 @@ is a pure seeder.
+
paused is set to true if the torrent is paused and false otherwise.
next_announce is the time until the torrent will announce itself to the tracker. And
announce_interval is the time the tracker want us to wait until we announce ourself
again the next time.
diff --git a/docs/manual.rst b/docs/manual.rst
index 3de747af2..89d5f3bc0 100755
--- a/docs/manual.rst
+++ b/docs/manual.rst
@@ -675,6 +675,7 @@ It contains the following fields::
};
state_t state;
+ bool paused;
float progress;
boost::posix_time::time_duration next_announce;
boost::posix_time::time_duration announce_interval;
@@ -725,6 +726,8 @@ current task is in the ``state`` member, it will be one of the following:
| | |
+--------------------------+----------------------------------------------------------+
+``paused`` is set to true if the torrent is paused and false otherwise.
+
``next_announce`` is the time until the torrent will announce itself to the tracker. And
``announce_interval`` is the time the tracker want us to wait until we announce ourself
again the next time.
diff --git a/include/libtorrent/allocate_resources.hpp b/include/libtorrent/allocate_resources.hpp
index c8b474493..c30492a62 100644
--- a/include/libtorrent/allocate_resources.hpp
+++ b/include/libtorrent/allocate_resources.hpp
@@ -33,24 +33,17 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef TORRENT_ALLOCATE_RESOURCES_HPP_INCLUDED
#define TORRENT_ALLOCATE_RESOURCES_HPP_INCLUDED
-#include
-#include
+#include