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

github.com/FreeRDP/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ollier <larchunix@users.noreply.github.com>2018-05-02 19:55:40 +0300
committerDenis Ollier <larchunix@users.noreply.github.com>2018-05-02 19:55:40 +0300
commit66e8d5c26d9f619874a659402ce0b7d84f564aa0 (patch)
tree5470ca3ca0a824bc2af8027299376e7d47a39a32
parent454372a4a32e5a091ae42a76de5b2c8de667fe62 (diff)
ssh: remove unpaired G_GNUC_BEGIN_IGNORE_DEPRECATIONS
-rw-r--r--remmina/src/remmina_ssh.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/remmina/src/remmina_ssh.c b/remmina/src/remmina_ssh.c
index 44123fb22..6c8393d99 100644
--- a/remmina/src/remmina_ssh.c
+++ b/remmina/src/remmina_ssh.c
@@ -1052,7 +1052,6 @@ remmina_ssh_tunnel_main_thread_proc(gpointer data)
case REMMINA_SSH_TUNNEL_REVERSE:
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (ssh_forward_listen(REMMINA_SSH(tunnel)->session, NULL, tunnel->port, NULL)) {
- G_GNUC_END_IGNORE_DEPRECATIONS
remmina_ssh_set_error(REMMINA_SSH (tunnel), _("Failed to request port forwarding : %s"));
if (tunnel->disconnect_func) {
(*tunnel->disconnect_func)(tunnel, tunnel->callback_data);
@@ -1060,7 +1059,7 @@ remmina_ssh_tunnel_main_thread_proc(gpointer data)
tunnel->thread = 0;
return NULL;
}
- G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+ G_GNUC_END_IGNORE_DEPRECATIONS
if (tunnel->init_func &&
!(*tunnel->init_func)(tunnel, tunnel->callback_data)) {
@@ -1102,7 +1101,6 @@ remmina_ssh_tunnel_main_thread_proc(gpointer data)
(*tunnel->connect_func)(tunnel, tunnel->callback_data);
}
if (tunnel->tunnel_type == REMMINA_SSH_TUNNEL_REVERSE) {
- G_GNUC_BEGIN_IGNORE_DEPRECATIONS
/* For reverse tunnel, we only need one connection. */
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
ssh_forward_cancel(REMMINA_SSH (tunnel)->session, NULL, tunnel->port);