summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/communication.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-08-20 15:03:12 +0200
committerRobert Pösel <robyer@seznam.cz>2017-08-20 15:08:37 +0200
commit4d113e5efe56850e90ed302244a8803f87e72418 (patch)
treee0db44c67457bae957c266ef58279b9510640b10 /protocols/Omegle/src/communication.cpp
parent8b4e84a22a38c9a7cf81907394734c4c3f919919 (diff)
Omegle: Remove unused error code
Diffstat (limited to 'protocols/Omegle/src/communication.cpp')
-rw-r--r--protocols/Omegle/src/communication.cpp6
1 files changed, 0 insertions, 6 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);