diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-03 18:31:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-03 18:31:26 +0000 |
commit | c2a98771e0d195ca4d5be500f4c8ba9fd012d676 (patch) | |
tree | 1c99fcc878fbf0c72fa0f4140ad0390cc6d235fe /protocols/IcqOscarJ/src/icq_uploadui.cpp | |
parent | 5ae20d4da68c98c2a0d851b4b45da9181e61781c (diff) |
- settings convertor for Popup+;
- various DBCONTACTENUMSETTINGS initialization garbage
git-svn-id: http://svn.miranda-ng.org/main/trunk@5922 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_uploadui.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_uploadui.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/protocols/IcqOscarJ/src/icq_uploadui.cpp b/protocols/IcqOscarJ/src/icq_uploadui.cpp index 8275a03f4a..477ef69600 100644 --- a/protocols/IcqOscarJ/src/icq_uploadui.cpp +++ b/protocols/IcqOscarJ/src/icq_uploadui.cpp @@ -176,17 +176,13 @@ static int GroupEnumIdsEnumProc(const char *szSetting,LPARAM lParam) static void enumServerGroups(CIcqProto* ppro)
{
- DBCONTACTENUMSETTINGS dbces;
-
char szModule[MAX_PATH+9];
+ mir_snprintf(szModule, SIZEOF(szModule), "%s%s", ppro->m_szModuleName, "SrvGroups");
- strcpy(szModule, ppro->m_szModuleName);
- strcat(szModule, "SrvGroups");
-
+ DBCONTACTENUMSETTINGS dbces = { 0 };
dbces.pfnEnumProc = &GroupEnumIdsEnumProc;
dbces.szModule = szModule;
dbces.lParam = (LPARAM)szModule;
-
CallService(MS_DB_CONTACT_ENUMSETTINGS, 0, (LPARAM)&dbces);
}
|