mirror of
https://github.com/rapid7/metasploit-payloads
synced 2024-12-08 23:33:07 +01:00
Fix warning
This commit is contained in:
parent
73a386f49c
commit
d5b8577d6a
@ -198,10 +198,10 @@ wstring escape(const wstring& s)
|
||||
wstring::const_iterator it = s.begin();
|
||||
while (it != s.end())
|
||||
{
|
||||
char c = *it++;
|
||||
if (c == '"')
|
||||
wchar_t c = *it++;
|
||||
if (c == L'"')
|
||||
{
|
||||
res += '"';
|
||||
res += L'"';
|
||||
}
|
||||
res += c;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user