print some debug output in case security layer cannot connect due to missing protocol selection

This commit is contained in:
lysannkessler 2012-07-31 23:07:48 +02:00
parent c5c15638fb
commit 8d27636bb1

View File

@ -165,6 +165,10 @@ boolean nego_security_connect(rdpNego* nego)
DEBUG_NEGO("nego_security_connect with PROTOCOL_RDP");
nego->security_connected = transport_connect_rdp(nego->transport);
}
else
{
DEBUG_NEGO("cannot connect security layer because no protocol has been selected yet.");
}
}
return nego->security_connected;
}