Mercurial > gftp.yaz
diff src/gtk/transfer.c @ 207:cf4098008615
2003-7-1 Brian Masney <masneyb@gftp.org>
* lib/httpcommon.h lib/rfc2068.c - more HTTP improvements. Mostly with
chunked file transfers. Also fixed several memory leaks. Added more
informative error messages to aid in debugging. Size parsing fixes
* lib/misc.c (base64_encode) - alphabet fix (+ wasn't a valid
character, it should have been /) (thanks to Holger Kiehl
<Holger.Kiehl@dwd.de> for pointing this out)
* lib/config_file.c lib/gftp.h - added copy function for options
variables. The functions gftp_config_file_copy_text(),
gftp_config_file_copy_ptr_contents() and gftp_config_file_copy_color()
were added
* lib/protocols.c - make sure the remote_charsets string is restored
properly after it is used
* src/gtk/bookmarks.c - remove memory leak comments, these are fixed
now
* src/gtk/transfer.c - removed start_file_transfers variable
* src/gtk/misc-gtk.c src/gtk/gftp-gtk.h lib/misc.c lib/gftp.h - moved
get_next_selection() to lib
* acinclude.h (AC_TYPE_SOCKLEN_T) - AC_DEFINE fix (from
Nathan Robertson <nathanr@nathanr.net>)
author | masneyb |
---|---|
date | Wed, 02 Jul 2003 01:44:57 +0000 |
parents | 3fa7b4f4ab78 |
children | 6de9a8280aa4 |
line wrap: on
line diff
--- a/src/gtk/transfer.c Sat Jun 28 13:52:44 2003 +0000 +++ b/src/gtk/transfer.c Wed Jul 02 01:44:57 2003 +0000 @@ -1394,7 +1394,7 @@ gint update_downloads (gpointer data) { - int do_one_transfer_at_a_time, start_file_transfers; + int do_one_transfer_at_a_time; GList * templist, * next; gftp_transfer * tdata; @@ -1433,9 +1433,8 @@ { gftp_lookup_global_option ("one_transfer", &do_one_transfer_at_a_time); - start_file_transfers = 1; /* FIXME */ - if (!tdata->started && start_file_transfers && + if (!tdata->started && (num_transfers_in_progress == 0 || !do_one_transfer_at_a_time)) create_transfer (tdata);