summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-04-09 16:53:13 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-04-09 16:53:13 +0000
commitd64ef7c71dc0a496e61f5c59701bf0c8868c88ce (patch)
tree04320e4b8715198b410f8d7c20d61113facba0d5
parentcc74c0e4332e021772d283f5aae6d6967f6ccf7d (diff)
fixed GetStringFromDatabase function (thanks nglekhoi for debugging)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4397 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/YahooGroups/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YahooGroups/src/utils.cpp b/plugins/YahooGroups/src/utils.cpp
index 4c1022fd76..652c19f716 100644
--- a/plugins/YahooGroups/src/utils.cpp
+++ b/plugins/YahooGroups/src/utils.cpp
@@ -138,7 +138,7 @@ int GetStringFromDatabase(HANDLE hContact, char *szModule, char *szSettingName,
int res = 1;
int len;
dbv.type = DBVT_ASCIIZ;
- if (db_get_ts(hContact, szModule, szSettingName, &dbv) == 0)
+ if (db_get_s(hContact, szModule, szSettingName, &dbv) == 0)
{
res = 0;
int tmp = strlen(dbv.pszVal);