mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-02-16 00:24:29 +01:00
Fix stupid mistake with the use of wchar_t in posix
This commit is contained in:
parent
5ba41da726
commit
8a41324dd1
@ -564,10 +564,10 @@ Transport* transport_create_tcp(char* url)
|
||||
Transport* transport_create(char* transport, char* url)
|
||||
{
|
||||
Transport* t = NULL;
|
||||
dprintf("[TRANSPORT] Type = %S", transport);
|
||||
dprintf("[TRANSPORT] URL = %S", url);
|
||||
dprintf("[TRANSPORT] Type = %s", transport);
|
||||
dprintf("[TRANSPORT] URL = %s", url);
|
||||
|
||||
if (wcscmp(transport, L"TRANSPORT_SSL") == 0)
|
||||
if (strcmp(transport, "TRANSPORT_SSL") == 0)
|
||||
{
|
||||
t = transport_create_tcp(url);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user