diff lib/sshv2.c @ 245:41af60bc1f88

2003-8-4 Brian Masney <masneyb@gftp.org> * src/gtk/gftp-gtk.c (CreateMenus) - on startup, select the proper ASCII/binary radio button (looks like an old bug!) * lib/misc.c lib/gftp.h - renamed my version of g_build_path() (was used only in glib 1.2 only) to gftp_build_path() and it's compiled in all the time now * lib/protocols.c lib/sshv2.c src/gtk/dnd.c src/gtk/menu-items.c - instead of using g_build_path(), use gftp_build_path()
author masneyb
date Tue, 05 Aug 2003 01:40:49 +0000
parents b42e7233533a
children 9f121f62284b
line wrap: on
line diff
--- a/lib/sshv2.c	Sun Aug 03 18:44:29 2003 +0000
+++ b/lib/sshv2.c	Tue Aug 05 01:40:49 2003 +0000
@@ -1666,8 +1666,7 @@
   else
     {
       oldlen = strlen (request->directory) + strlen (oldname) + 1;
-      oldstr = g_build_path ("/", request->directory, oldname, 
-                             NULL);
+      oldstr = gftp_build_path (request->directory, oldname, NULL);
     }
 
   if (*newname == '/')
@@ -1678,8 +1677,7 @@
   else
     {
       newlen = strlen (request->directory) + strlen (newname) + 1;
-      newstr = g_build_path ("/", request->directory, newname, 
-                             NULL);
+      newstr = gftp_build_path (request->directory, newname, NULL);
     }
 
   tempstr = g_malloc (oldlen + newlen + 13);