summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/Sdk/MemoryFind.h
diff options
context:
space:
mode:
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);