[gnome-commander] Fix connection port assignment
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Fix connection port assignment
- Date: Thu, 6 Jan 2022 22:27:53 +0000 (UTC)
commit 330f8c7dfb1205eacd62302e188fd7e64547f160
Author: Uwe Scholz <u scholz83 gmx de>
Date: Thu Jan 6 17:15:04 2022 +0100
Fix connection port assignment
src/dialogs/gnome-cmd-con-dialog.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/dialogs/gnome-cmd-con-dialog.cc b/src/dialogs/gnome-cmd-con-dialog.cc
index d5eac794..7950e0bb 100644
--- a/src/dialogs/gnome-cmd-con-dialog.cc
+++ b/src/dialogs/gnome-cmd-con-dialog.cc
@@ -558,7 +558,7 @@ gboolean gnome_cmd_connect_dialog_edit (GnomeCmdConRemote *server)
gnome_cmd_con_set_base_path(con, uriPath ? new GnomeCmdPlainPath(uriPath) : new
GnomeCmdPlainPath(G_DIR_SEPARATOR_S));
gnome_cmd_con_set_root_path(con, uriPath);
gnome_cmd_con_set_host_name (con, uriHost);
- if (port != -1)
+ if (uriPort != -1)
gnome_cmd_con_set_port(con, uriPort);
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]