Add newline to OutputDebugString (Issue 314)

pull/326/head
Jeffrey Walton 2016-10-02 18:03:30 -04:00
parent 578b0e2a07
commit e3c4ccb0fc
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 2 additions and 2 deletions

View File

@ -334,9 +334,9 @@ bool IntegrityCheckModule(const char *moduleFilename, const byte *expectedModule
{
std::ostringstream oss;
oss << "Crypto++ DLL integrity check may fail. Expected module base address is 0x";
oss << std::hex << g_BaseAddressOfMAC << ", but module loaded at 0x" << h;
oss << std::hex << g_BaseAddressOfMAC << ", but module loaded at 0x" << h << "\n";
#ifdef CRYPTOPP_WIN32_AVAILABLE
OutputDebugStringA(oss.str().c_str());
OutputDebugString(oss.str().c_str());
#endif
}