summaryrefslogtreecommitdiff
path: root/plugins/ProxySwitch/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-24 18:00:48 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-24 18:00:48 +0300
commit6126ea3b146d8b8ed2b908528d473aa7c0b12b62 (patch)
treec6bf29490f9d71a8516bbb8d6e75962cfe62a42f /plugins/ProxySwitch/src/main.cpp
parent6979bd026c4a05f1ee75844edb4d01c90d5410b0 (diff)
homemade array removed
Diffstat (limited to 'plugins/ProxySwitch/src/main.cpp')
-rw-r--r--plugins/ProxySwitch/src/main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/ProxySwitch/src/main.cpp b/plugins/ProxySwitch/src/main.cpp
index b83d2588a6..5721bfc1b2 100644
--- a/plugins/ProxySwitch/src/main.cpp
+++ b/plugins/ProxySwitch/src/main.cpp
@@ -29,10 +29,12 @@ CMPlugin::CMPlugin() :
HGENMENU hEnableDisablePopupMenu = 0;
+OBJLIST<ACTIVE_CONNECTION> g_arConnections(10, PtrKeySortT);
+mir_cs csConnection_List;
+
NETWORK_INTERFACE_LIST NIF_List;
mir_cs csNIF_List;
-ACTIVE_CONNECTION_LIST Connection_List;
-mir_cs csConnection_List;
+
HANDLE hEventRebound = NULL;
wchar_t opt_useProxy[MAX_IPLIST_LENGTH];
@@ -251,7 +253,6 @@ int CMPlugin::Load()
LoadSettings();
- ZeroMemory(&Connection_List, sizeof(Connection_List));
Create_NIF_List_Ex(&NIF_List);
if (opt_ie || opt_miranda || opt_firefox) {