comparison src/gtk/delete_dialog.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 41b71c4e5076
children 33b394ebba68
comparison
equal deleted inserted replaced
150:662aa96e417c 151:2f15b3000dbc
183 wdata = data; 183 wdata = data;
184 if (!check_status (_("Delete"), wdata, wdata->request->use_threads, 0, 1, 1)) 184 if (!check_status (_("Delete"), wdata, wdata->request->use_threads, 0, 1, 1))
185 return; 185 return;
186 186
187 transfer = g_malloc0 (sizeof (*transfer)); 187 transfer = g_malloc0 (sizeof (*transfer));
188 transfer->fromreq = copy_request (wdata->request); 188 transfer->fromreq = copy_request (wdata->request, 0);
189 transfer->fromwdata = wdata; 189 transfer->fromwdata = wdata;
190 transfer->transfer_direction = GFTP_DIRECTION_DOWNLOAD; 190 transfer->transfer_direction = GFTP_DIRECTION_DOWNLOAD;
191 191
192 num = 0; 192 num = 0;
193 templist = GTK_CLIST (wdata->listbox)->selection; 193 templist = GTK_CLIST (wdata->listbox)->selection;