Mercurial > gftp.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
428:f882d8e205c5 | 429:1d45758e5cf5 |
---|---|
1446 | 1446 |
1447 | 1447 |
1448 void | 1448 void |
1449 gftp_copy_local_options (gftp_config_vars ** new_options_vars, | 1449 gftp_copy_local_options (gftp_config_vars ** new_options_vars, |
1450 GHashTable ** new_options_hash, | 1450 GHashTable ** new_options_hash, |
1451 int *new_num_local_options_vars, | |
1451 gftp_config_vars * orig_options, | 1452 gftp_config_vars * orig_options, |
1452 int num_local_options_vars) | 1453 int num_local_options_vars) |
1453 { | 1454 { |
1454 int i; | 1455 int i; |
1455 | 1456 |
1457 *new_num_local_options_vars = num_local_options_vars; | |
1456 if (orig_options == NULL || num_local_options_vars == 0) | 1458 if (orig_options == NULL || num_local_options_vars == 0) |
1457 { | 1459 { |
1458 *new_options_vars = NULL; | 1460 *new_options_vars = NULL; |
1459 *new_options_hash = NULL; | 1461 *new_options_hash = NULL; |
1460 return; | 1462 return; |