Merge branch 'master' into c++11

This commit is contained in:
Jari Sundell
2011-11-26 01:44:52 +09:00
9 changed files with 49 additions and 25 deletions
+2
View File
@@ -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();
+2 -2
View File
@@ -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