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:
607a3e3
)
Fixed freerdp_client_rdp_file_set_integer standard flag set.
author
Armin Novak
<armin.novak@thincast.com>
Mon, 15 Jul 2019 09:08:02 +0000
(11:08 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Mon, 15 Jul 2019 10:01:30 +0000
(12:01 +0200)
client/common/file.c
patch
|
blob
|
history
diff --git
a/client/common/file.c
b/client/common/file.c
index
cc4cf79
..
9767002
100644
(file)
--- a/
client/common/file.c
+++ b/
client/common/file.c
@@
-202,7
+202,7
@@
struct rdp_file
static int freerdp_client_rdp_file_set_integer(rdpFile* file, const char* name, int value,
int index)
{
-
int standard = 1
;
+
int standard = 0
;
#ifdef DEBUG_CLIENT_FILE
WLog_DBG(TAG, "%s:i:%d", name, value);
#endif
@@
-348,7
+348,7
@@
static int freerdp_client_rdp_file_set_integer(rdpFile* file, const char* name,
file->lines[index].flags = RDP_FILE_LINE_FLAG_FORMATTED;
file->lines[index].flags |= RDP_FILE_LINE_FLAG_TYPE_INTEGER;
- if (standard)
+ if (standard
== 0
)
file->lines[index].flags |= RDP_FILE_LINE_FLAG_STANDARD;
file->lines[index].valueLength = 0;