diff lib/local.c @ 177:aec4b4541d3a

2003-6-9 Brian Masney <masneyb@gftp.org> * lib/bookmark.c lib/gftp.h lib/local.c lib/protocols.c lib/rfc2068.c lib/rfc959.c lib/sshv2.c - make return value of *_set_config_options() be an integer * lib/rfc2068.c lib/rfc959.c - return the error code of gftp_connect_server() if there was a connection problem
author masneyb
date Tue, 10 Jun 2003 12:03:54 +0000
parents 4c288d05b26a
children 33b394ebba68
line wrap: on
line diff
--- a/lib/local.c	Mon Jun 09 23:16:53 2003 +0000
+++ b/lib/local.c	Tue Jun 10 12:03:54 2003 +0000
@@ -679,7 +679,6 @@
   request->use_cache = 0;
   request->use_threads = 0;
   request->always_connected = 1;
-  gftp_set_config_options (request);
 
   lpd = g_malloc0 (sizeof (*lpd));
   request->protocol_data = lpd;
@@ -690,6 +689,6 @@
     g_free (request->hostname);
   request->hostname = g_strdup (_("local filesystem"));
 
-  return (0);
+  return (gftp_set_config_options (request));
 }