Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Panozzo <giovanni@panozzo.it>2017-11-04 13:59:22 +0300
committerGiovanni Panozzo <giovanni@panozzo.it>2017-11-04 13:59:22 +0300
commit41f20bcbb6e83e1b7ab54a335977b4e4c3399881 (patch)
treea4d693c9ffad133b8e5a80c630d9cdd9c694186a /remmina-plugins
parentfbd7ec1de63a08f1aab3c7ab47342e061e39b9ab (diff)
Fix segfault in .rdp export
Diffstat (limited to 'remmina-plugins')
-rw-r--r--remmina-plugins/rdp/rdp_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remmina-plugins/rdp/rdp_file.c b/remmina-plugins/rdp/rdp_file.c
index 87f28d04f..8f85d4934 100644
--- a/remmina-plugins/rdp/rdp_file.c
+++ b/remmina-plugins/rdp/rdp_file.c
@@ -224,7 +224,7 @@ gboolean remmina_rdp_file_export_channel(RemminaFile* remminafile, FILE* fp)
h = remmina_plugin_service->file_get_int(remminafile, "resolution_height", -1);
if ( w > 0 && h > 0 ) {
fprintf(fp, "desktopwidth:i:%d\r\n", w);
- fprintf(fp, "desktopheight:i:%s\r\n", h);
+ fprintf(fp, "desktopheight:i:%d\r\n", h);
}
fprintf(fp, "session bpp:i:%i\r\n", remmina_plugin_service->file_get_int(remminafile, "colordepth", 8));