diff lib/protocols.c @ 199:75eebb3b0592

2003-6-24 Brian Masney <masneyb@gftp.org> * lib/config_file.c lib/gftp.h lib/protocols.c - added backend for overriding options on a per bookmark basis. Also added gftp_copy_local_options() to config_file.c * lib/gftp.h lib/misc.c src/gtk/bookmarks.c - added gftp_free_bookmark() to misc.c. It was taken from the function free_bookmark_entry_items() in bookmarks.c * lib/sslcommon.c - formatting fixes. Added thread functions (mostly from the OReilly SSL book)
author masneyb
date Wed, 25 Jun 2003 01:53:45 +0000
parents 8fea1b1a2ec6
children 0098dae654a5
line wrap: on
line diff
--- a/lib/protocols.c	Mon Jun 23 01:07:05 2003 +0000
+++ b/lib/protocols.c	Wed Jun 25 01:53:45 2003 +0000
@@ -534,6 +534,11 @@
         i = GFTP_FTP_NUM;
     }
 
+  gftp_copy_local_options (&request->local_options_vars,
+                           &request->local_options_hash,
+                           tempentry->local_options_vars,
+                           tempentry->num_local_options_vars);
+
   if ((init_ret = gftp_protocols[i].init (request)) < 0)
     {
       gftp_request_destroy (request, 0);