diff lib/sshv2.c @ 218:de6a2e8e51cb

2003-7-9 Brian Masney <masneyb@gftp.org> * lib/config_file.c (gftp_write_config_file) - fix for writing out list items to the config file. * lib/config_file.c lib/gftp.h - added gftp_free_proxy_hosts() and gftp_copy_proxy_hosts() * lib/protocols.c (gftp_connect_server) - look up dont_use_proxy instead of ext * lib/protocols.c lib/sshv2.c src/gtk/dnd.c src/gtk/menu-items.c - when calling g_build_path(), set the directory separator to / instead of G_DIR_SEPARATOR_S * src/gtk/gftp-gtk.c (toolbar_hostedit) - fixed crash * src/gtk/gftp-gtk.h - removed gotbytes from gftp_window_data structure * src/gtk/options_dialog.c - show proxy hosts in options dialog * docs/sample.gftp/gftprc - new default config file
author masneyb
date Wed, 09 Jul 2003 23:25:56 +0000
parents 3f2203e70218
children b9584a877daf
line wrap: on
line diff
--- a/lib/sshv2.c	Tue Jul 08 19:44:12 2003 +0000
+++ b/lib/sshv2.c	Wed Jul 09 23:25:56 2003 +0000
@@ -1626,7 +1626,7 @@
   else
     {
       oldlen = strlen (request->directory) + strlen (oldname) + 1;
-      oldstr = g_build_path (G_DIR_SEPARATOR_S, request->directory, oldname, 
+      oldstr = g_build_path ("/", request->directory, oldname, 
                              NULL);
     }
 
@@ -1638,7 +1638,7 @@
   else
     {
       newlen = strlen (request->directory) + strlen (newname) + 1;
-      newstr = g_build_path (G_DIR_SEPARATOR_S, request->directory, newname, 
+      newstr = g_build_path ("/", request->directory, newname, 
                              NULL);
     }