diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-01 21:55:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-01 21:55:47 +0000 |
commit | 12012a3ea4d58c6624f8065c2ca2afb96090b70f (patch) | |
tree | 47e60353bc84f956e1c71241ef563c54dbc8765b /protocols/AimOscar | |
parent | b2269a81668efaf157d541f2ffd67e52b89417c6 (diff) |
service call replaced with helper
git-svn-id: http://svn.miranda-ng.org/main/trunk@3825 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar')
-rw-r--r-- | protocols/AimOscar/src/avatars.cpp | 2 | ||||
-rw-r--r-- | protocols/AimOscar/src/file.cpp | 2 | ||||
-rw-r--r-- | protocols/AimOscar/src/utility.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/AimOscar/src/avatars.cpp b/protocols/AimOscar/src/avatars.cpp index 9eacdc6dad..a2277658de 100644 --- a/protocols/AimOscar/src/avatars.cpp +++ b/protocols/AimOscar/src/avatars.cpp @@ -202,7 +202,7 @@ int CAimProto::get_avatar_filename(HANDLE hContact, TCHAR* pszDest, size_t cbLen }
if (ext && _taccess(pszDest, 0))
- CallService(MS_UTILS_CREATEDIRTREET, 0, (LPARAM)pszDest);
+ CreateDirectoryTreeT(pszDest);
size_t tPathLen2 = tPathLen;
diff --git a/protocols/AimOscar/src/file.cpp b/protocols/AimOscar/src/file.cpp index 14e453ef42..12ef935cd7 100644 --- a/protocols/AimOscar/src/file.cpp +++ b/protocols/AimOscar/src/file.cpp @@ -361,7 +361,7 @@ int CAimProto::receiving_file(file_transfer *ft, HANDLE hServerPacketRecver, NET if (ft->pfts.tszCurrentFile)
{
TCHAR* dir = get_dir(ft->pfts.tszCurrentFile);
- CallService(MS_UTILS_CREATEDIRTREET, 0, (LPARAM)dir);
+ CreateDirectoryTreeT(dir);
mir_free(dir);
oft->type = _htons(ft->pfts.currentFileProgress ? 0x0205 : 0x0202);
diff --git a/protocols/AimOscar/src/utility.cpp b/protocols/AimOscar/src/utility.cpp index 5ebf065227..549f2e4235 100644 --- a/protocols/AimOscar/src/utility.cpp +++ b/protocols/AimOscar/src/utility.cpp @@ -606,7 +606,7 @@ int CAimProto::open_contact_file(const char* sn, const TCHAR* file, const char* }
if (_taccess(path, 0))
- CallService(MS_UTILS_CREATEDIRTREET, 0, (LPARAM)path);
+ CreateDirectoryTreeT(path);
mir_sntprintf(path + pos, MAX_PATH - pos, _T("\\%s"), file);
int fid = _topen(path, _O_CREAT | _O_RDWR | _O_BINARY, _S_IREAD);
|