comparison lib/misc.c @ 876:2d4e6fca8e7c

2007-2-6 Brian Masney <masneyb@gftp.org> * src/text/textui.c src/gtk/gtkui_transfer.c src/uicommon/gftpui.h - added new function: gftpui_cancel_file_transfer() * src/uicommon/gftpui.c - use gftpui_cancel_file_transfer() to cancel the file transfers * lib/gftp.h lib/misc.c src/gtk/transfer.c - added pointer for the thread_id of the transfer to the gftp_transfer structure. This will be used in the GTK+ port so that the transfer can be stopped.
author masneyb
date Wed, 07 Feb 2007 02:43:57 +0000
parents 5e3005923374
children 1808cebed602
comparison
equal deleted inserted replaced
875:19dacfb69433 876:2d4e6fca8e7c
559 if (tdata->fromreq != NULL) 559 if (tdata->fromreq != NULL)
560 gftp_request_destroy (tdata->fromreq, 1); 560 gftp_request_destroy (tdata->fromreq, 1);
561 if (tdata->toreq != NULL) 561 if (tdata->toreq != NULL)
562 gftp_request_destroy (tdata->toreq, 1); 562 gftp_request_destroy (tdata->toreq, 1);
563 free_file_list (tdata->files); 563 free_file_list (tdata->files);
564 if (tdata->thread_id != NULL)
565 g_free (tdata->thread_id);
564 g_free (tdata); 566 g_free (tdata);
565 } 567 }
566 568
567 569
568 gftp_request * 570 gftp_request *