comparison 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
comparison
equal deleted inserted replaced
244:afbbc72b73e2 245:41af60bc1f88
1545 if (dirhash && 1545 if (dirhash &&
1546 (newsize = g_hash_table_lookup (dirhash, fle->file)) != NULL) 1546 (newsize = g_hash_table_lookup (dirhash, fle->file)) != NULL)
1547 fle->startsize = *newsize; 1547 fle->startsize = *newsize;
1548 1548
1549 if (transfer->toreq) 1549 if (transfer->toreq)
1550 fle->destfile = g_build_path ("/", transfer->toreq->directory, 1550 fle->destfile = gftp_build_path (transfer->toreq->directory,
1551 fle->file, NULL); 1551 fle->file, NULL);
1552 1552
1553 newname = g_build_path ("/", transfer->fromreq->directory, 1553 newname = gftp_build_path (transfer->fromreq->directory,
1554 fle->file, NULL); 1554 fle->file, NULL);
1555 1555
1556 g_free (fle->file); 1556 g_free (fle->file);
1557 fle->file = newname; 1557 fle->file = newname;
1558 1558
1559 templist = g_list_append (templist, fle); 1559 templist = g_list_append (templist, fle);