diff --git a/libfreerdp/core/transport.c b/libfreerdp/core/transport.c index d2dc2e59d..117f7c67b 100644 --- a/libfreerdp/core/transport.c +++ b/libfreerdp/core/transport.c @@ -485,7 +485,7 @@ static BOOL transport_can_retry(const rdpContext* context, BOOL status) case FREERDP_ERROR_CONNECT_TARGET_BOOTING: return FALSE; default: - return status; + return !status; } }