forked from premiere/premiere-libtorrent
fixed typo
This commit is contained in:
parent
635341f1e4
commit
48abc4e7e1
|
@ -1923,7 +1923,7 @@ all potential (not connected) peers. You can use <tt class="docutils literal"><s
|
|||
is currently paused. Torrents may be paused automatically if there is a file error (e.g. disk full)
|
||||
or something similar. See <a class="reference" href="#file-error-alert">file_error_alert</a>.</p>
|
||||
<p><tt class="docutils literal"><span class="pre">is_paused()</span></tt> only returns true if the torrent itself is paused. If the torrent
|
||||
is not running because the session is paused, this still returns true. To know if a
|
||||
is not running because the session is paused, this still returns false. To know if a
|
||||
torrent is active or not, you need to inspect both <tt class="docutils literal"><span class="pre">torrent_handle::is_paused()</span></tt>
|
||||
and <tt class="docutils literal"><span class="pre">session::is_paused()</span></tt>.</p>
|
||||
</div>
|
||||
|
|
|
@ -1853,7 +1853,7 @@ is currently paused. Torrents may be paused automatically if there is a file err
|
|||
or something similar. See file_error_alert_.
|
||||
|
||||
``is_paused()`` only returns true if the torrent itself is paused. If the torrent
|
||||
is not running because the session is paused, this still returns true. To know if a
|
||||
is not running because the session is paused, this still returns false. To know if a
|
||||
torrent is active or not, you need to inspect both ``torrent_handle::is_paused()``
|
||||
and ``session::is_paused()``.
|
||||
|
||||
|
|
Loading…
Reference in New Issue