summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Omegle/src/communication.cpp6
-rw-r--r--protocols/Omegle/src/http.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/protocols/Omegle/src/communication.cpp b/protocols/Omegle/src/communication.cpp
index 65baff0dee..efcc37271a 100644
--- a/protocols/Omegle/src/communication.cpp
+++ b/protocols/Omegle/src/communication.cpp
@@ -668,7 +668,6 @@ bool Omegle_client::events()
// timeout
return HANDLE_SUCCESS;
- case HTTP_CODE_FAKE_ERROR:
default:
return HANDLE_ERROR(false);
}
@@ -690,7 +689,6 @@ bool Omegle_client::send_message(const std::string &message_text)
return HANDLE_SUCCESS;
}
- case HTTP_CODE_FAKE_ERROR:
case HTTP_CODE_FAKE_DISCONNECTED:
default:
return HANDLE_ERROR(false);
@@ -712,7 +710,6 @@ bool Omegle_client::typing_start()
return HANDLE_SUCCESS;
}
- case HTTP_CODE_FAKE_ERROR:
case HTTP_CODE_FAKE_DISCONNECTED:
default:
return HANDLE_ERROR(false);
@@ -734,7 +731,6 @@ bool Omegle_client::typing_stop()
return HANDLE_SUCCESS;
}
- case HTTP_CODE_FAKE_ERROR:
case HTTP_CODE_FAKE_DISCONNECTED:
default:
return HANDLE_ERROR(false);
@@ -759,7 +755,6 @@ bool Omegle_client::recaptcha()
return handle_success( "typing_start" );
}*/
- case HTTP_CODE_FAKE_ERROR:
case HTTP_CODE_FAKE_DISCONNECTED:
default:
return HANDLE_ERROR(false);
@@ -778,7 +773,6 @@ std::string Omegle_client::get_page(const int request_type)
HANDLE_SUCCESS;
break;
- case HTTP_CODE_FAKE_ERROR:
case HTTP_CODE_FAKE_DISCONNECTED:
default:
HANDLE_ERROR(false);
diff --git a/protocols/Omegle/src/http.h b/protocols/Omegle/src/http.h
index 7c1cc53bcf..a94cc7b3c2 100644
--- a/protocols/Omegle/src/http.h
+++ b/protocols/Omegle/src/http.h
@@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define HTTP_CODE_FAKE_DISCONNECTED 0
-#define HTTP_CODE_FAKE_ERROR 1
namespace http
{