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:
authormyheroyuki <myheroyuki@outlook.com>2022-10-27 15:42:33 +0300
committermyheroyuki <myheroyuki@outlook.com>2022-10-27 17:16:55 +0300
commitf25337ef0e4169b56d6a1206e5ba51b884dcc198 (patch)
treeec220bbfa0ae31e51bbc9c5dc42c60ed5cbb524b
parentf24bd660477bc27dcfc04222e18115da29dae475 (diff)
Transforms commented out code in remmina_ssh_cp_to_fd_cb into helpful comment
-rw-r--r--src/remmina_ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remmina_ssh.c b/src/remmina_ssh.c
index 005a36edb..7ef32b95a 100644
--- a/src/remmina_ssh.c
+++ b/src/remmina_ssh.c
@@ -529,10 +529,10 @@ remmina_ssh_cp_to_fd_cb(ssh_session session, ssh_channel channel, void *data, ui
TRACE_CALL(__func__);
(void)session;
(void)is_stderr;
+ // Expecting userdata to be type RemminaSSHShell *, but it is unused
+ // in this function.
(void)userdata;
-// RemminaSSHShell *shell = (RemminaSSHShell *)userdata;
-
node_t *temp_node = remmina_ssh_search_item(channel);
gint fd = temp_node->fd_out;
gint sz = 0;