mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 08:54:38 +09:00
libfreerdp-core: don't set connectErrorCode when there is no error
This commit is contained in:
@@ -192,11 +192,6 @@ BOOL freerdp_connect(freerdp* instance)
|
||||
freerdp_set_last_error(instance->context, FREERDP_ERROR_INSUFFICIENT_PRIVILEGES);
|
||||
}
|
||||
|
||||
if (!connectErrorCode)
|
||||
{
|
||||
connectErrorCode = UNDEFINEDCONNECTERROR;
|
||||
}
|
||||
|
||||
SetEvent(rdp->transport->connectedEvent);
|
||||
|
||||
freerdp_connect_finally:
|
||||
|
||||
Reference in New Issue
Block a user