Fix windows build

This commit is contained in:
Benoit LeBlanc 2014-03-21 15:25:00 -04:00
parent 4bed3d082f
commit 21b5f0e418

View File

@ -235,11 +235,10 @@ BOOL rdp_set_error_info(rdpRdp* rdp, UINT32 errorInfo)
if (rdp->errorInfo != ERRINFO_SUCCESS) if (rdp->errorInfo != ERRINFO_SUCCESS)
{ {
rdp->context->LastError = MAKE_FREERDP_ERROR(ERRINFO, errorInfo);
ErrorInfoEventArgs e; ErrorInfoEventArgs e;
rdpContext* context = rdp->instance->context; rdpContext* context = rdp->instance->context;
rdp->context->LastError = MAKE_FREERDP_ERROR(ERRINFO, errorInfo);
rdp_print_errinfo(rdp->errorInfo); rdp_print_errinfo(rdp->errorInfo);
EventArgsInit(&e, "freerdp"); EventArgsInit(&e, "freerdp");