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:
15fd55d
)
remove identical code, found by coverity
author
Ilya Shipitsin
<chipitsine@gmail.com>
Fri, 4 Jan 2019 15:55:28 +0000
(20:55 +0500)
committer
Ilya Shipitsin
<chipitsine@gmail.com>
Fri, 4 Jan 2019 15:55:28 +0000
(20:55 +0500)
libfreerdp/core/settings.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/settings.c
b/libfreerdp/core/settings.c
index
59bbaa7
..
54dfe20
100644
(file)
--- a/
libfreerdp/core/settings.c
+++ b/
libfreerdp/core/settings.c
@@
-370,12
+370,7
@@
rdpSettings* freerdp_settings_new(DWORD flags)
settings->CompressionEnabled = TRUE;
settings->LogonNotify = TRUE;
settings->BrushSupportLevel = BRUSH_COLOR_FULL;
-
- if (settings->ServerMode)
- settings->CompressionLevel = PACKET_COMPR_TYPE_RDP61;
- else
- settings->CompressionLevel = PACKET_COMPR_TYPE_RDP61;
-
+ settings->CompressionLevel = PACKET_COMPR_TYPE_RDP61;
settings->Authentication = TRUE;
settings->AuthenticationOnly = FALSE;
settings->CredentialsFromStdin = FALSE;