diff options
Diffstat (limited to 'plugins/FTPFileYM/src/mir_db.cpp')
-rw-r--r-- | plugins/FTPFileYM/src/mir_db.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/FTPFileYM/src/mir_db.cpp b/plugins/FTPFileYM/src/mir_db.cpp index 5f70e61d8e..c09b6dac51 100644 --- a/plugins/FTPFileYM/src/mir_db.cpp +++ b/plugins/FTPFileYM/src/mir_db.cpp @@ -77,8 +77,7 @@ int DB::getDwordF(MCONTACT hContact, char *szModule, char *szSetting, int id, in int DB::getAString(MCONTACT hContact, char *szModule, char *szSetting, char *buff)
{
DBVARIANT dbv;
- if (!db_get_s(hContact, szModule, szSetting, &dbv))
- {
+ if (!db_get_s(hContact, szModule, szSetting, &dbv)) {
mir_strcpy(buff, dbv.pszVal);
db_free(&dbv);
return 0;
@@ -98,8 +97,7 @@ int DB::getAStringF(MCONTACT hContact, char *szModule, char *szSetting, int id, int DB::getString(MCONTACT hContact, char *szModule, char *szSetting, TCHAR *buff)
{
DBVARIANT dbv;
- if (!db_get_ts(hContact, szModule, szSetting, &dbv))
- {
+ if (!db_get_ts(hContact, szModule, szSetting, &dbv)) {
mir_tstrcpy(buff, dbv.ptszVal);
db_free(&dbv);
return 0;
|