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.
@@ -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
{
