summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/Sdk/MemoryFind.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-03 19:26:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-03 19:26:14 +0000
commit201c409cb52d001a91954cc9ff1d76ef24d6a628 (patch)
treeacc6618debd795d6a569c6b41f13fd1eca2b86d9 /protocols/MRA/src/Sdk/MemoryFind.h
parent8f036d4eb94d22589b5775436fbfb7be6b988888 (diff)
- restored old password verification
- unused header removed git-svn-id: http://svn.miranda-ng.org/main/trunk@5924 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Sdk/MemoryFind.h')
-rw-r--r--protocols/MRA/src/Sdk/MemoryFind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/src/Sdk/MemoryFind.h b/protocols/MRA/src/Sdk/MemoryFind.h
index 860c5ce20a..8395f86249 100644
--- a/protocols/MRA/src/Sdk/MemoryFind.h
+++ b/protocols/MRA/src/Sdk/MemoryFind.h
@@ -51,7 +51,7 @@ __inline void *MemoryFind(size_t dwFrom,const void *pBuff,size_t dwBuffSize,cons
pCurPos=(void*)(((size_t)pBuff)+dwFrom);
if ((dwFrom+dwWhatFindSize)==dwBuffSize)
- {// only MemoryCompare
+ {
if (memcmp(pCurPos,pWhatFind,dwWhatFindSize)==0) pRet=pCurPos;
}else{
dwBuffSize-=(dwWhatFindSize-1);