changeset 574:81b957b00691

2004-9-29 Brian Masney <masneyb@gftp.org> * lib/sshv2.c (sshv2_set_config_options) set the request->need_password to be the value of the option ssh_need_userpass * src/text/gftp-text.c (main) - run gftp_shutdown() before the program exits * src/uicommon/gftpui.c (gftpui_common_cmd_set) - toggle gftp_configuration_changed whenever the user changes a configuration item
author masneyb
date Wed, 29 Sep 2004 22:59:06 +0000
parents a2d49bf1d2d1
children e0e167f428ec
files ChangeLog lib/sshv2.c src/text/gftp-text.c src/uicommon/gftpui.c
diffstat 4 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Sep 29 22:50:33 2004 +0000
+++ b/ChangeLog	Wed Sep 29 22:59:06 2004 +0000
@@ -1,4 +1,14 @@
 2004-9-29 Brian Masney <masneyb@gftp.org>
+	* lib/sshv2.c (sshv2_set_config_options) set the request->need_password
+	to be the value of the option ssh_need_userpass
+
+	* src/text/gftp-text.c (main) - run gftp_shutdown() before the program
+	exits
+
+	* src/uicommon/gftpui.c (gftpui_common_cmd_set) - toggle
+	gftp_configuration_changed whenever the user changes a configuration
+	item
+
 	* src/text/gftp-text.c src/uicommon/gftpui.c - make sure that extra
 	newlines are not displayed to the user when certain commands are run
 	from the text console
@@ -2892,7 +2902,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.335 2004/09/29 22:50:33 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.336 2004/09/29 22:59:06 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/lib/sshv2.c	Wed Sep 29 22:50:33 2004 +0000
+++ b/lib/sshv2.c	Wed Sep 29 22:59:06 2004 +0000
@@ -2011,6 +2011,7 @@
 
   gftp_lookup_request_option (request, "ssh_need_userpass", &ssh_need_userpass);
   request->need_username = ssh_need_userpass;
+  request->need_password = ssh_need_userpass;
   return (0);
 }
 
--- a/src/text/gftp-text.c	Wed Sep 29 22:50:33 2004 +0000
+++ b/src/text/gftp-text.c	Wed Sep 29 22:59:06 2004 +0000
@@ -301,6 +301,7 @@
     }
 #endif
  
+  gftp_shutdown ();
   return (0);
 }
 
--- a/src/uicommon/gftpui.c	Wed Sep 29 22:50:33 2004 +0000
+++ b/src/uicommon/gftpui.c	Wed Sep 29 22:59:06 2004 +0000
@@ -773,6 +773,8 @@
 
           if (newcv.flags & GFTP_CVARS_FLAGS_DYNMEM)
             g_free (newcv.value);
+
+          gftp_configuration_changed = 1;
         }
     }