commit
c432488fab
@ -0,0 +1,25 @@
|
||||
From c6adb35b854dcc71895413b120fafaa071645549 Mon Sep 17 00:00:00 2001
|
||||
From: John Chadwick <johnwchadwick@gmail.com>
|
||||
Date: Fri, 14 Apr 2023 04:01:41 +0000
|
||||
Subject: [PATCH] Fix segfault in VNC when using domain socket
|
||||
|
||||
---
|
||||
plugins/vnc/vnc_plugin.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/plugins/vnc/vnc_plugin.c b/plugins/vnc/vnc_plugin.c
|
||||
index 4fa7b627b..adecffff4 100644
|
||||
--- a/plugins/vnc/vnc_plugin.c
|
||||
+++ b/plugins/vnc/vnc_plugin.c
|
||||
@@ -1716,7 +1716,7 @@ static gboolean remmina_plugin_vnc_open_connection(RemminaProtocolWidget *gp)
|
||||
raw_server = remmina_plugin_service->file_get_string(remminafile, "server");
|
||||
|
||||
if (raw_server && strstr(raw_server, "unix://") == raw_server) {
|
||||
- REMMINA_PLUGIN_AUDIT(_("Connected to %s via VNC"), server);
|
||||
+ REMMINA_PLUGIN_AUDIT(_("Connected to %s via VNC"), raw_server);
|
||||
} else {
|
||||
remmina_plugin_service->get_server_port(raw_server,
|
||||
VNC_DEFAULT_PORT,
|
||||
--
|
||||
GitLab
|
||||
|
Loading…
Reference in new issue