diff lib/gftp.h @ 305:6d180e6a8ba5

2003-11-3 Brian Masney <masneyb@gftp.org> * lib/gftp.h src/gtk/transfer.c src/gtk/delete_dialog.c - removed transfer_direction variable from gftp_transfer structure. Cleaned up the code that did checks based on the value of this variable. * lib/rfc959.c (rfc959_syst) - added a check for Novell FTP servers * src/gtk/transfer.c (add_file_transfer) - check the value of the option one_transfer and if that is disabled, do not append the file transfers. (transfer_done) - refresh the destination window correctly after a transfer is completed.
author masneyb
date Tue, 04 Nov 2003 02:53:17 +0000
parents 3b9d5797050f
children cc2eeb30b793
line wrap: on
line diff
--- a/lib/gftp.h	Mon Nov 03 02:35:18 2003 +0000
+++ b/lib/gftp.h	Tue Nov 04 02:53:17 2003 +0000
@@ -163,9 +163,6 @@
 #define GFTP_TRANS_ACTION_RESUME		2
 #define GFTP_TRANS_ACTION_SKIP			3
 
-#define GFTP_DIRECTION_DOWNLOAD			0
-#define GFTP_DIRECTION_UPLOAD			1
-
 #define GFTP_SORT_COL_FILE			1
 #define GFTP_SORT_COL_SIZE			2
 #define GFTP_SORT_COL_USER			3
@@ -438,8 +435,7 @@
   gftp_request * fromreq,
                * toreq;
 
-  unsigned int transfer_direction : 1, /* FIXME - take out */
-               cancel : 1,
+  unsigned int cancel : 1,
                ready : 1,
                started : 1,
                done : 1,