diff lib/misc.c @ 368:af541d789f4c

2003-1-18 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/misc.c src/gtk/delete_dialog.c src/gtk/transfer.c src/gtk/view_dialog.c src/uicommon/gftpui.c - renamed all instances of copy_request() to gftp_copy_request(). Removed second argument (copy_local_options), the options are always copied now.
author masneyb
date Sun, 18 Jan 2004 20:18:19 +0000
parents 7cb3327f96f7
children c63208a1f0f1
line wrap: on
line diff
--- a/lib/misc.c	Sun Jan 18 20:09:28 2004 +0000
+++ b/lib/misc.c	Sun Jan 18 20:18:19 2004 +0000
@@ -586,7 +586,7 @@
 
 
 gftp_request * 
-copy_request (gftp_request * req, int copy_local_options)
+gftp_copy_request (gftp_request * req)
 {
   gftp_request * newreq;
 
@@ -608,11 +608,10 @@
   newreq->free_hostp = 0;
   newreq->hostp = NULL;
 
-  if (copy_local_options)
-    gftp_copy_local_options (&newreq->local_options_vars, 
-                             &newreq->local_options_hash,
-                             req->local_options_vars,
-                             req->num_local_options_vars);
+  gftp_copy_local_options (&newreq->local_options_vars, 
+                           &newreq->local_options_hash,
+                           req->local_options_vars,
+                           req->num_local_options_vars);
 
   if (req->init (newreq) < 0)
     {