diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-29 12:36:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-29 12:36:34 +0000 |
commit | 428bf0cbd77813a43094cb5c984436deff251936 (patch) | |
tree | d7dfa8971153d53a849e45c942be97fe5b90b7ec /plugins/Ping/src/pinglist.cpp | |
parent | 82ef17ca5286f58ae7af604fb9518e8dc496b7c3 (diff) |
no more TCHARs
git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping/src/pinglist.cpp')
-rw-r--r-- | plugins/Ping/src/pinglist.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Ping/src/pinglist.cpp b/plugins/Ping/src/pinglist.cpp index 9ba42dad03..92e094e74b 100644 --- a/plugins/Ping/src/pinglist.cpp +++ b/plugins/Ping/src/pinglist.cpp @@ -63,17 +63,17 @@ void write_ping_address(PINGADDRESS &i) }
db_set_dw(0, buff, "Id", i.item_id);
- db_set_ts(0, buff, "Address", i.pszName);
- db_set_ts(0, buff, "Label", i.pszLabel);
+ db_set_ws(0, buff, "Address", i.pszName);
+ db_set_ws(0, buff, "Label", i.pszLabel);
db_set_w(0, buff, "Status", i.status);
db_set_dw(0, buff, "Port", i.port);
db_set_s(0, buff, "Proto", i.pszProto);
if (mir_wstrlen(i.pszCommand))
- db_set_ts(0, buff, "Command", i.pszCommand);
+ db_set_ws(0, buff, "Command", i.pszCommand);
else
db_unset(0, buff, "Command");
if (mir_wstrlen(i.pszParams))
- db_set_ts(0, buff, "CommandParams", i.pszParams);
+ db_set_ws(0, buff, "CommandParams", i.pszParams);
else
db_unset(0, buff, "CommandParams");
db_set_w(0, buff, "SetStatus", i.set_status);
@@ -115,13 +115,13 @@ bool read_ping_address(PINGADDRESS &pa) { if ((pa.item_id = db_get_dw(0, buff, "Id", 0)) == 0) return false;
DBVARIANT dbv;
- if (!db_get_ts(0, buff, "Address", &dbv)) {
+ if (!db_get_ws(0, buff, "Address", &dbv)) {
mir_wstrncpy(pa.pszName, dbv.ptszVal, _countof(pa.pszName));
db_free(&dbv);
}
else return false;
- if (!db_get_ts(0, buff, "Label", &dbv)) {
+ if (!db_get_ws(0, buff, "Label", &dbv)) {
mir_wstrncpy(pa.pszLabel, dbv.ptszVal, _countof(pa.pszLabel));
db_free(&dbv);
}
@@ -138,13 +138,13 @@ bool read_ping_address(PINGADDRESS &pa) { }
else pa.pszProto[0] = '\0';
- if (!db_get_ts(0, buff, "Command", &dbv)) {
+ if (!db_get_ws(0, buff, "Command", &dbv)) {
mir_wstrncpy(pa.pszCommand, dbv.ptszVal, _countof(pa.pszCommand));
db_free(&dbv);
}
else
pa.pszCommand[0] = '\0';
- if (!db_get_ts(0, buff, "CommandParams", &dbv)) {
+ if (!db_get_ws(0, buff, "CommandParams", &dbv)) {
mir_wstrncpy(pa.pszParams, dbv.ptszVal, _countof(pa.pszParams));
db_free(&dbv);
}
|