mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-17 23:52:30 +00:00
Merge branch 'master' into c++11
This commit is contained in:
@@ -51,6 +51,8 @@ class CurlStack;
|
||||
|
||||
class CurlGet : public torrent::Http {
|
||||
public:
|
||||
friend class CurlStack;
|
||||
|
||||
CurlGet(CurlStack* s) : m_active(false), m_handle(NULL), m_stack(s) {}
|
||||
virtual ~CurlGet();
|
||||
|
||||
|
||||
@@ -131,9 +131,9 @@ CurlStack::transfer_done(void* handle, const char* msg) {
|
||||
throw torrent::internal_error("Could not find CurlGet with the right easy_handle.");
|
||||
|
||||
if (msg == NULL)
|
||||
torrent::slot_list_call((*itr)->signal_done());
|
||||
(*itr)->trigger_done();
|
||||
else
|
||||
torrent::slot_list_call((*itr)->signal_failed(), msg);
|
||||
(*itr)->trigger_failed(msg);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user