Added an error message in rdp_set_error_info

If the provided arguments are not properly set up write
an error message explaining what is wrong.

Signed-off-by: Armin Novak <armin.novak@thincast.com>
This commit is contained in:
Armin Novak 2020-01-08 17:51:00 +01:00
parent 2391a1528b
commit 105799de31

View File

@ -318,6 +318,8 @@ BOOL rdp_set_error_info(rdpRdp* rdp, UINT32 errorInfo)
PubSub_OnErrorInfo(context->pubSub, context, &e);
}
}
else
WLog_ERR(TAG, "%s missing context=%p", __FUNCTION__, context);
}
else
{