[core] improve logging in freerdp_set_last_error

This commit is contained in:
Armin Novak
2023-03-11 09:33:26 +01:00
committed by Martin Fleisz
parent 39b3847428
commit e9bc54e8b7
2 changed files with 24 additions and 13 deletions

View File

@@ -614,7 +614,8 @@ owned by rdpRdp */
FREERDP_API const char* freerdp_get_last_error_string(UINT32 error);
FREERDP_API const char* freerdp_get_last_error_category(UINT32 error);
FREERDP_API void freerdp_set_last_error(rdpContext* context, UINT32 lastError);
#define freerdp_set_last_error(context, lastError) \
freerdp_set_last_error_ex((context), (lastError), __FUNCTION__, __FILE__, __LINE__)
#define freerdp_set_last_error_if_not(context, lastError) \
do \