diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-12 23:51:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-12 23:51:06 +0300 |
commit | f4ae133ee3ba85c3ee2387cae24aaf25a6ae5c74 (patch) | |
tree | 889405636cb8e16187aed9ba8a44406aaef1ef17 /plugins/ConnectionNotify | |
parent | 30dd1623d85c3f8719b9668bc03b4bda26adc2e9 (diff) |
NULL -> 0
Diffstat (limited to 'plugins/ConnectionNotify')
-rw-r--r-- | plugins/ConnectionNotify/src/ConnectionNotify.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ConnectionNotify/src/ConnectionNotify.cpp b/plugins/ConnectionNotify/src/ConnectionNotify.cpp index 031a7b8c11..156115a229 100644 --- a/plugins/ConnectionNotify/src/ConnectionNotify.cpp +++ b/plugins/ConnectionNotify/src/ConnectionNotify.cpp @@ -120,15 +120,15 @@ struct CONNECTION* LoadSettingsConnections() for (i = settingFiltersCount - 1; i >= 0; i--) {
struct CONNECTION *conn = (struct CONNECTION*)mir_alloc(sizeof(struct CONNECTION));
mir_snprintf(buff, "%dFilterIntIp", i);
- if (!db_get_ws(NULL, PLUGINNAME, buff, &dbv))
+ if (!db_get_ws(0, PLUGINNAME, buff, &dbv))
wcsncpy(conn->strIntIp, dbv.pwszVal, _countof(conn->strIntIp));
db_free(&dbv);
mir_snprintf(buff, "%dFilterExtIp", i);
- if (!db_get_ws(NULL, PLUGINNAME, buff, &dbv))
+ if (!db_get_ws(0, PLUGINNAME, buff, &dbv))
wcsncpy(conn->strExtIp, dbv.pwszVal, _countof(conn->strExtIp));
db_free(&dbv);
mir_snprintf(buff, "%dFilterPName", i);
- if (!db_get_ws(NULL, PLUGINNAME, buff, &dbv))
+ if (!db_get_ws(0, PLUGINNAME, buff, &dbv))
wcsncpy(conn->PName, dbv.pwszVal, _countof(conn->PName));
db_free(&dbv);
|