diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-27 17:12:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-27 17:12:49 +0000 |
commit | 795fd3b5c0a366bd1455d4c0ae8a7d9bb474c348 (patch) | |
tree | ba6269dbf2f13a67c4fe7573f02dab93095b432c /protocols/MRA/Mra.cpp | |
parent | 6c6a48a1ea97de81ded7062eae451db4fc13261b (diff) |
- mra is linked statically with zlib now;
- new simplified async acks mechanism;
git-svn-id: http://svn.miranda-ng.org/main/trunk@1686 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/Mra.cpp')
-rw-r--r-- | protocols/MRA/Mra.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/protocols/MRA/Mra.cpp b/protocols/MRA/Mra.cpp index 9b4e278fe6..d96a29a242 100644 --- a/protocols/MRA/Mra.cpp +++ b/protocols/MRA/Mra.cpp @@ -102,16 +102,6 @@ extern "C" MRA_API int Load(void) }
}
}
-
- // load zlib
- dwErrorCode = FindFile(masMraSettings.szMirWorkDirPath, (DWORD)masMraSettings.dwMirWorkDirPathLen, L"zlib.dll", -1, szBuff, SIZEOF(szBuff), (DWORD*)&dwBuffLen);
- if (dwErrorCode == NO_ERROR) {
- masMraSettings.hDLLZLib = LoadLibraryEx(szBuff, NULL, 0);
- if (masMraSettings.hDLLZLib) {
- masMraSettings.lpfnCompress2 = (HANDLE)GetProcAddress(masMraSettings.hDLLZLib, "compress2");
- masMraSettings.lpfnUncompress = (HANDLE)GetProcAddress(masMraSettings.hDLLZLib, "uncompress");
- }
- }
}
}
@@ -137,13 +127,6 @@ extern "C" MRA_API int Unload(void) masMraSettings.hDLLXStatusIcons = NULL;
}
- if (masMraSettings.hDLLZLib) {
- FreeLibrary(masMraSettings.hDLLZLib);
- masMraSettings.hDLLZLib = NULL;
- masMraSettings.lpfnCompress2 = NULL;
- masMraSettings.lpfnUncompress = NULL;
- }
-
DebugPrintCRLFW(L"Unload - DONE");
return 0;
}
|