Skip to content

Commit

Permalink
Removed ezsockets.
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskr97 committed Mar 14, 2019
1 parent 7ff7b5c commit b1ec80b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 808 deletions.
3 changes: 0 additions & 3 deletions src/CMakeData-singletons.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ list(APPEND SMDATA_GLOBAL_SINGLETON_SRC
"Etterna/Singletons/StatsManager.cpp"
"Etterna/Singletons/ThemeManager.cpp"
"Etterna/Singletons/DownloadManager.cpp"
"Etterna/Singletons/ezsockets.cpp"

)
list(APPEND SMDATA_GLOBAL_SINGLETON_HPP
"Etterna/Singletons/AnnouncerManager.h"
Expand All @@ -51,7 +49,6 @@ list(APPEND SMDATA_GLOBAL_SINGLETON_HPP
"Etterna/Singletons/StatsManager.h"
"Etterna/Singletons/ThemeManager.h"
"Etterna/Singletons/DownloadManager.h"
"Etterna/Singletons/ezsockets.h"
)

source_group("Global Singletons" FILES ${SMDATA_GLOBAL_SINGLETON_SRC} ${SMDATA_GLOBAL_SINGLETON_HPP})
7 changes: 1 addition & 6 deletions src/Etterna/Singletons/NetworkSyncManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ std::map<std::string, ETTServerMessageTypes> ettServerMessageMap = {
#include "Etterna/Models/Misc/PlayerState.h"
#include "Etterna/Singletons/CryptManager.h"
#include "Etterna/Models/Misc/HighScore.h"
#include "ezsockets.h"

AutoScreenMessage(SM_AddToChat);
AutoScreenMessage(SM_GotEval);
Expand Down Expand Up @@ -442,11 +441,7 @@ ETTProtocol::Connect(NetworkSyncManager* n,
;
else
strcpy(host, address.c_str());
bool canConnect = EzSockets::CanConnect(host, port);
delete[] host;
if (!canConnect) {
return false;
}

n->isSMOnline = false;
msgId = 0;
error = false;
Expand Down
Loading

0 comments on commit b1ec80b

Please sign in to comment.