From 9548e089352ac3343340a7ed895a1efe385723b6 Mon Sep 17 00:00:00 2001 From: rakshasa Date: Fri, 25 Apr 2014 17:24:42 +0900 Subject: [PATCH] Removed debugging exceptions. --- src/core/curl_stack.cc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/core/curl_stack.cc b/src/core/curl_stack.cc index a5e0e499..5c52dbc9 100644 --- a/src/core/curl_stack.cc +++ b/src/core/curl_stack.cc @@ -86,18 +86,6 @@ CurlStack::new_socket(int fd) { void 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; do {