mirror of
https://github.com/stascorp/rdpwrap.git
synced 2024-11-27 16:07:23 +00:00
Bug fixes
This commit is contained in:
parent
b5b5806177
commit
ac5cb9e480
@ -509,6 +509,7 @@ void Hook()
|
|||||||
{
|
{
|
||||||
memset(&ConfigFile[i+1], 0x00, ((256-(i+1)))*2);
|
memset(&ConfigFile[i+1], 0x00, ((256-(i+1)))*2);
|
||||||
memcpy(&ConfigFile[i+1], L"rdpwrap.ini", strlen("rdpwrap.ini")*2);
|
memcpy(&ConfigFile[i+1], L"rdpwrap.ini", strlen("rdpwrap.ini")*2);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -536,6 +537,7 @@ void Hook()
|
|||||||
{
|
{
|
||||||
memset(&LogFile[i+1], 0x00, ((256-(i+1)))*2);
|
memset(&LogFile[i+1], 0x00, ((256-(i+1)))*2);
|
||||||
memcpy(&LogFile[i+1], L"rdpwrap.txt", strlen("rdpwrap.txt")*2);
|
memcpy(&LogFile[i+1], L"rdpwrap.txt", strlen("rdpwrap.txt")*2);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user