mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-21 23:13:08 +08:00
Fix: Copy payload file to target directory when installing
This commit is contained in:
@@ -557,7 +557,7 @@ enum TestRunType {
|
||||
|
||||
inline int MemoryFind(const char* szBuffer, const char* Key, int iBufferSize, int iKeySize)
|
||||
{
|
||||
for (int i = 0; i < iBufferSize - iKeySize; ++i) {
|
||||
for (int i = 0; i <= iBufferSize - iKeySize; ++i) {
|
||||
if (0 == memcmp(szBuffer + i, Key, iKeySize)) {
|
||||
return i;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user