diff lib/config_file.c @ 429:1d45758e5cf5

2004-3-17 Brian Masney <masneyb@gftp.org> * lib/config_file.c lib/gftp.h lib/misc.c lib/protocols.c src/gtk/bookmarks.c (gftp_copy_local_options) - in the new options that are copied, update the the number of options that are stored.
author masneyb
date Wed, 17 Mar 2004 13:03:25 +0000
parents 2f5ce7fb5aad
children 075f89b4395c
line wrap: on
line diff
--- a/lib/config_file.c	Wed Mar 17 12:00:08 2004 +0000
+++ b/lib/config_file.c	Wed Mar 17 13:03:25 2004 +0000
@@ -1448,11 +1448,13 @@
 void
 gftp_copy_local_options (gftp_config_vars ** new_options_vars, 
                          GHashTable ** new_options_hash,
+                         int *new_num_local_options_vars,
                          gftp_config_vars * orig_options,
                          int num_local_options_vars)
 {
   int i;
 
+  *new_num_local_options_vars = num_local_options_vars;
   if (orig_options == NULL || num_local_options_vars == 0)
     {
       *new_options_vars = NULL;