mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-19 23:56:16 +00:00
* Cleaned up error.h and HandshakeMessage.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@823 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ receive_tracker_dump(const std::string& url, const char* data, size_t size) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Manager::handshake_log(const sockaddr* sa, torrent::ConnectionManager::HandshakeMessage msg, int err, const torrent::HashString* hash) {
|
Manager::handshake_log(const sockaddr* sa, int msg, int err, const torrent::HashString* hash) {
|
||||||
if (!control->variable()->get_value("handshake_log"))
|
if (!control->variable()->get_value("handshake_log"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
+1
-3
@@ -39,8 +39,6 @@
|
|||||||
|
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
|
|
||||||
#include <torrent/connection_manager.h>
|
|
||||||
|
|
||||||
#include "download_list.h"
|
#include "download_list.h"
|
||||||
#include "poll_manager.h"
|
#include "poll_manager.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
@@ -98,7 +96,7 @@ public:
|
|||||||
|
|
||||||
void push_log(const std::string& msg) { m_logImportant.push_front(msg); m_logComplete.push_front(msg); }
|
void push_log(const std::string& msg) { m_logImportant.push_front(msg); m_logComplete.push_front(msg); }
|
||||||
|
|
||||||
void handshake_log(const sockaddr* sa, torrent::ConnectionManager::HandshakeMessage msg, int err, const torrent::HashString* hash);
|
void handshake_log(const sockaddr* sa, int msg, int err, const torrent::HashString* hash);
|
||||||
|
|
||||||
// Temporary, find a better place for this.
|
// Temporary, find a better place for this.
|
||||||
void try_create_download(const std::string& uri, bool start, bool printLog = true, bool tied = false);
|
void try_create_download(const std::string& uri, bool start, bool printLog = true, bool tied = false);
|
||||||
|
|||||||
Reference in New Issue
Block a user