*** empty log message ***

This commit is contained in:
Arvid Norberg 2003-10-31 15:06:32 +00:00
parent fe44ca9fdf
commit c9bfb8aa36
2 changed files with 7 additions and 8 deletions

View File

@ -155,9 +155,8 @@ structure in the torrent-file.
<p> <p>
<tt>fingerprint</tt> is a short string that will be used in the peer_id to <tt>fingerprint</tt> is a short string that will be used in the peer_id to
identify the client. If you want your fingerprint to be shorter than 4 identify the client. If the string is longer than 7 characters it will
characters, you can terminate the string with a null. The default is an be trimmed down to 7 characters. The default is an empty string.
empty string.
</p> </p>
<p> <p>
@ -442,11 +441,11 @@ piece and <tt>info_hash()</tt> returns the 20-bytes sha1-hash for the info-secti
torrent file. For more information on the <tt>sha1_hash</tt>, see the <a href="#big_number">big_number</a> class. torrent file. For more information on the <tt>sha1_hash</tt>, see the <a href="#big_number">big_number</a> class.
</p> </p>
<h2><a name="torrent_handle"></a>torrent_hande</h2> <h2><a name="torrent_handle"></a>torrent_handle</h2>
<p> <p>
You will usually have to store your <tt>torrent_handle</tt>s somewhere, since it's the You will usually have to store your <tt>torrent_handle</tt>s somewhere, since it's the
object thought which you retrieve infromation about the torrent and aborts the torrent. object through which you retrieve infromation about the torrent and aborts the torrent.
Its declaration looks like this: Its declaration looks like this:
</p> </p>

View File

@ -97,12 +97,12 @@ namespace libtorrent
// is filled in by storage::initialize_pieces() // is filled in by storage::initialize_pieces()
// and represents the progress. It should be a // and represents the progress. It should be a
// value in the range [0, 1] // value in the range [0, 1]
float progress; volatile float progress;
// abort defaults to false and is typically // abort defaults to false and is typically
// filled in by torrent_handle when the user // filled in by torrent_handle when the user
// aborts the torrent // aborts the torrent
bool abort; volatile bool abort;
}; };
struct checker_impl: boost::noncopyable struct checker_impl: boost::noncopyable
@ -158,7 +158,7 @@ namespace libtorrent
// the settings for the client // the settings for the client
http_settings m_settings; http_settings m_settings;
bool m_abort; volatile bool m_abort;
#if defined(TORRENT_VERBOSE_LOGGING) #if defined(TORRENT_VERBOSE_LOGGING)
boost::shared_ptr<logger> create_log(std::string name) boost::shared_ptr<logger> create_log(std::string name)