diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-01 12:56:12 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-01 12:56:12 +0300 |
commit | 5e1234ce647a66915353c5c838363b1b67ebfac0 (patch) | |
tree | 3d4f134f9f0a901163ddfc35e5c2ffacc0db0693 /src | |
parent | ccd47813d774540317912de65e0ffb4300dbfbb9 (diff) |
unused ANSI service MS_FILE_GETRECEIVEDFILESFOLDER removed
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/file.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mir_app/src/file.cpp b/src/mir_app/src/file.cpp index f03c67795f..04cc6c0af8 100644 --- a/src/mir_app/src/file.cpp +++ b/src/mir_app/src/file.cpp @@ -87,16 +87,6 @@ static INT_PTR GetReceivedFilesFolder(WPARAM hContact, LPARAM lParam) { wchar_t buf[MAX_PATH]; GetContactReceivedFilesDir(hContact, buf, _countof(buf), TRUE); - char *dir = mir_u2a(buf); - mir_strncpy((char *)lParam, dir, MAX_PATH); - mir_free(dir); - return 0; -} - -static INT_PTR GetReceivedFilesFolderW(WPARAM hContact, LPARAM lParam) -{ - wchar_t buf[MAX_PATH]; - GetContactReceivedFilesDir(hContact, buf, _countof(buf), TRUE); mir_wstrncpy((wchar_t *)lParam, buf, MAX_PATH); return 0; } @@ -364,7 +354,6 @@ int LoadSendRecvFileModule(void) CreateServiceFunction(MS_FILE_SENDSPECIFICFILES, SendSpecificFiles); CreateServiceFunction(MS_FILE_SENDSPECIFICFILEST, SendSpecificFilesT); CreateServiceFunction(MS_FILE_GETRECEIVEDFILESFOLDER, GetReceivedFilesFolder); - CreateServiceFunction(MS_FILE_GETRECEIVEDFILESFOLDERW, GetReceivedFilesFolderW); CreateServiceFunction("SRFile/RecvFile", RecvFileCommand); CreateServiceFunction("SRFile/OpenContRecDir", openContRecDir); |