diff src/gtk/transfer.c @ 143:5c952c5cb438

2003-4-23 Brian Masney <masneyb@gftp.org> * Makefile.am - removed config.rpath from EXTRA_DIST * configure.in - added 'sr' to ALL_LINGUAS. Incremented version to 2.0.15 (will be a little while before this is released. Still have lots to do) * docs/sample.gftp/gftprc - removed old unused SSH options. These were used by the SSH protocol I ripped out * lib/config_file.c - fix for gftp_set_request_option(). Implemented gftp_lookup_request_options(). Overriding of configuration options now works across the board :) * lib/protocols.c - extra checks for freeing memory * src/text/gftp-text.c - renamed ssh_use_sftp_subsys to the proper name of sshv2_use_sftp_subsys * src/gtk/transfer.c - renamed append_file_transfers option to the proper name of append_transfers. Also, added quick fix for start_file_transfers option that is still missing * debian/gftp-text.postinst - this will add add an alternative for the ftp command and point it to gftp-text
author masneyb
date Thu, 24 Apr 2003 02:21:58 +0000
parents 84b3e69807a2
children 2f15b3000dbc
line wrap: on
line diff
--- a/src/gtk/transfer.c	Wed Apr 23 23:38:23 2003 +0000
+++ b/src/gtk/transfer.c	Thu Apr 24 02:21:58 2003 +0000
@@ -765,7 +765,7 @@
                    gftp_window_data * fromwdata, gftp_window_data * towdata, 
                    GList * files, int copy_req)
 {
-  int dialog, append_file_transfers;
+  int dialog, append_transfers;
   gftp_curtrans_data * transdata;
   GList * templist, *curfle;
   gftp_transfer * tdata;
@@ -780,10 +780,10 @@
     }
   dialog = templist != NULL;
 
-  gftp_lookup_request_option (fromreq, "append_file_transfers", 
-                              &append_file_transfers);
+  gftp_lookup_request_option (fromreq, "append_transfers", 
+                              &append_transfers);
 
-  if (append_file_transfers)
+  if (append_transfers)
     {
       pthread_mutex_lock (&transfer_mutex);
       for (templist = gftp_file_transfers; templist != NULL; templist = templist->next)
@@ -1429,8 +1429,7 @@
 	    {
               gftp_lookup_global_option ("do_one_transfer_at_a_time", 
                                          &do_one_transfer_at_a_time);
-              gftp_lookup_global_option ("start_file_transfers",  /* FIXME - this is gone now */
-                                         &start_file_transfers);
+              start_file_transfers = 1; /* FIXME */
 
 	      if (!tdata->started && start_file_transfers &&
                  (num_transfers_in_progress == 0 || !do_one_transfer_at_a_time))