freerdp: fix freerdp_connect possible incorrect status code

This commit is contained in:
Marc-André Moreau 2016-03-11 14:42:16 -05:00
parent ceefc4b099
commit 3cbd7c08f7

View File

@ -126,6 +126,7 @@ BOOL freerdp_connect(freerdp* instance)
if (!freerdp_get_last_error(rdp->context))
freerdp_set_last_error(instance->context, FREERDP_ERROR_POST_CONNECT_FAILED);
status = FALSE;
goto freerdp_connect_finally;
}