diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
commit | 53fe3e46177d17b4941610de19f5cc6210700cb4 (patch) | |
tree | b67a6bc208dad141f9db14035cd7e42ff2a51872 /plugins/ProxySwitch/src/proxy.cpp | |
parent | 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (diff) |
db_* functions replaced with g_plugin calls
Diffstat (limited to 'plugins/ProxySwitch/src/proxy.cpp')
-rw-r--r-- | plugins/ProxySwitch/src/proxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ProxySwitch/src/proxy.cpp b/plugins/ProxySwitch/src/proxy.cpp index bed73e9fb6..45ac91f303 100644 --- a/plugins/ProxySwitch/src/proxy.cpp +++ b/plugins/ProxySwitch/src/proxy.cpp @@ -82,7 +82,7 @@ char Get_Miranda_Proxy_Status(void) Create_Proxy_Settings_List(&ps); for (i = 0; i < ps.count; i++) { - p = db_get_b(NULL, ps.item[i].ModuleName, ps.item[i].SettingName, FALSE); + p = db_get_b(0, ps.item[i].ModuleName, ps.item[i].SettingName, FALSE); if (proxy == PROXY_NO_CONFIG) { proxy = p; continue; @@ -109,7 +109,7 @@ void Set_Miranda_Proxy_Status(char proxy) Create_Proxy_Settings_List(&ps); for (i = 0; i < ps.count; i++) { if (ps.item[i].SettingName[0] != 0) - db_set_b(NULL, ps.item[i].ModuleName, ps.item[i].SettingName, proxy); + db_set_b(0, ps.item[i].ModuleName, ps.item[i].SettingName, proxy); ZeroMemory(&nlus, sizeof(nlus)); nlus.cbSize = sizeof(nlus); if (Netlib_GetUserSettingsByName(ps.item[i].ModuleName, &nlus)) { |