Mercurial > gftp.yaz
diff lib/protocols.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 | afbbc72b73e2 |
children | 16a967a4d003 |
line wrap: on
line diff
--- a/lib/protocols.c Sun Aug 03 18:44:29 2003 +0000 +++ b/lib/protocols.c Tue Aug 05 01:40:49 2003 +0000 @@ -1547,11 +1547,11 @@ fle->startsize = *newsize; if (transfer->toreq) - fle->destfile = g_build_path ("/", transfer->toreq->directory, - fle->file, NULL); - - newname = g_build_path ("/", transfer->fromreq->directory, - fle->file, NULL); + fle->destfile = gftp_build_path (transfer->toreq->directory, + fle->file, NULL); + + newname = gftp_build_path (transfer->fromreq->directory, + fle->file, NULL); g_free (fle->file); fle->file = newname;