Mercurial > gftp.yaz
diff src/gtk/transfer.c @ 151:2f15b3000dbc
2003-4-27 Brian Masney <masneyb@gftp.org>
* lib/config_file.c (gftp_config_file_read_float) - use strtod instead
of strtof(). ANSI C describes strtod, and C99 describes strtof(). Some
older systems don't have strtof()
* lib/gftp.h - if HAVE_OPENPTY is defined, include pty.h. Fix for
GFTP_GET_AI_FAMILY when request or request->hostp is NULL. Added
free_hostp boolean to struct gftp_request
* lib/misc.c src/gtk/delete_dialog.c src/gtk/transfer.c - added
copy_local_options parameter. Add a pointer to newreq->hostp from the
source request structure
* lib/protocols.c - honor free_hostp
* lib/rfc959.c - fix for IPV4/IPV6 detection
* src/gtk/misc-gtk.c src/gtk/options_dialog.c - fixed compiler errors
when compiling against GTK+ 1.2
* src/gtk/transfer.c - lookup option one_transfer instead of
do_one_transfer_at_a_time
author | masneyb |
---|---|
date | Mon, 28 Apr 2003 02:07:19 +0000 |
parents | 5c952c5cb438 |
children | d40f9db52cdf |
line wrap: on
line diff
--- a/src/gtk/transfer.c Sun Apr 27 14:35:53 2003 +0000 +++ b/src/gtk/transfer.c Mon Apr 28 02:07:19 2003 +0000 @@ -422,8 +422,8 @@ return; transfer = g_malloc0 (sizeof (*transfer)); - transfer->fromreq = copy_request (fromwdata->request); - transfer->toreq = copy_request (towdata->request); + transfer->fromreq = copy_request (fromwdata->request, 0); + transfer->toreq = copy_request (towdata->request, 0); transfer->transfer_direction = fromwdata == &window2 ? GFTP_DIRECTION_DOWNLOAD : GFTP_DIRECTION_UPLOAD; transfer->fromwdata = fromwdata; @@ -862,8 +862,8 @@ tdata = gftp_tdata_new (); if (copy_req) { - tdata->fromreq = copy_request (fromreq); - tdata->toreq = copy_request (toreq); + tdata->fromreq = copy_request (fromreq, 0); + tdata->toreq = copy_request (toreq, 0); } else { @@ -1427,7 +1427,7 @@ if (tdata->curfle != NULL) { - gftp_lookup_global_option ("do_one_transfer_at_a_time", + gftp_lookup_global_option ("one_transfer", &do_one_transfer_at_a_time); start_file_transfers = 1; /* FIXME */