projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4d169f
)
Map gateway errors in freerdp_get_last_error_name
author
Armin Novak
<armin.novak@thincast.com>
Tue, 1 Oct 2019 07:47:26 +0000
(09:47 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Tue, 1 Oct 2019 07:47:26 +0000
(09:47 +0200)
libfreerdp/core/freerdp.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/freerdp.c
b/libfreerdp/core/freerdp.c
index
fca795a
..
c999246
100644
(file)
--- a/
libfreerdp/core/freerdp.c
+++ b/
libfreerdp/core/freerdp.c
@@
-31,6
+31,7
@@
#include "connection.h"
#include "message.h"
#include "buildflags.h"
+#include "gateway/rpc_fault.h"
#include <assert.h>
@@
-823,7
+824,7
@@
const char* freerdp_get_last_error_name(UINT32 code)
break;
default:
- name =
"Unknown error class"
;
+ name =
rpc_error_to_string(code)
;
break;
}
@@
-851,7
+852,7
@@
const char* freerdp_get_last_error_string(UINT32 code)
break;
default:
- string =
"Unknown error class"
;
+ string =
rpc_error_to_string(code)
;
break;
}