summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-03 22:11:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-03 22:11:27 +0000
commit53e568efe6f2a9e121ac6cf305e5fa9a84137c1a (patch)
tree60185775025f8fe3a7ed8f1f78b041c5db5770c1 /plugins/YAMN/src/main.cpp
parentb06a96420250b0a6b8de0a3c463e4599ba16e522 (diff)
- fix for the buffer overrun in YAMN's mime parser
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2948 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAMN/src/main.cpp')
-rw-r--r--plugins/YAMN/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp
index c2083ab9f7..242c1e247a 100644
--- a/plugins/YAMN/src/main.cpp
+++ b/plugins/YAMN/src/main.cpp
@@ -358,7 +358,7 @@ extern "C" int __declspec(dllexport) Load(void)
EnumSystemCodePages(EnumSystemCodePagesProc, CP_INSTALLED);
CodePageNamesSupp = new _tcptable[CPLENSUPP];
for (i = 0, k = 0; i < CPLENALL; i++) {
- if (CodePageNamesAll[i].isValid){
+ if (CodePageNamesAll[i].isValid) {
CodePageNamesSupp[k] = CodePageNamesAll[i];
k++;
} }
@@ -441,7 +441,7 @@ static void UnloadPlugins()
iDllPlugins --;
}
}
- if (hDllPlugins){
+ if (hDllPlugins) {
free((void *)hDllPlugins);
hDllPlugins = NULL;
}