mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-16 06:06:16 +00:00
Merge branch 'master' into xirvik
This commit is contained in:
@@ -86,18 +86,6 @@ CurlStack::new_socket(int fd) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
CurlStack::receive_action(CurlSocket* socket, int events) {
|
CurlStack::receive_action(CurlSocket* socket, int events) {
|
||||||
if (this <= (CurlStack*)0x100)
|
|
||||||
throw torrent::internal_error("CurlStack::receive_action(...) called with shit == NULL");
|
|
||||||
|
|
||||||
if (this >= (CurlStack*)0x00007fff00000000)
|
|
||||||
throw torrent::internal_error("CurlStack::receive_action(...) called with this == 0x00007fff00000002");
|
|
||||||
|
|
||||||
if (socket != NULL && socket <= (CurlSocket*)0x100)
|
|
||||||
throw torrent::internal_error("CurlStack::receive_action(...) called with socket == NULL");
|
|
||||||
|
|
||||||
if (socket >= (CurlSocket*)0x00007fff00000000)
|
|
||||||
throw torrent::internal_error("CurlStack::receive_action(...) called with socket == 0x00007fff00000002");
|
|
||||||
|
|
||||||
CURLMcode code;
|
CURLMcode code;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|||||||
Reference in New Issue
Block a user