comparison lib/protocols.c @ 367:d5409bf03ff1

2003-1-18 Brian Masney <masneyb@gftp.org> * lib/protocols.c (gftp_parse_url) - if the URL is the local filesystem, skip over the whitespace at the beginning. * lib/rfc959.c (rfc959_syst) - allow the string MVS and OS/MVS for the MVS directory listings. * src/gtk/gtkui_transfer.c src/gtk/transfer.c src/gtk/gftpui.c - started to move the transfer functionality into the uicommon directory. Added the text and GTK+ UI specific transfer functions. * src/gtk/Makefile.am po/POTFILES.in - added gtkui_transfer.c * src/gtk/dnd.c src/gtk/gtkui_transfer.c src/gtk/view_dialog.c - s/add_file_transfer/gtkui_common_add_file_transfer/ * src/gtk/gftp-gtk.c src/gtk/gftp-gtk.h - removed transfer_mutex * src/gtk/gtkui.c src/text/textui.c - added gftpui_add_file_to_transfer() * src/uicommon/gftpui_callbacks.c src/uicommon/gftpui.c - in all of the thread callback functions, don't alter the return value in the function. Return it as is.
author masneyb
date Sun, 18 Jan 2004 20:09:28 +0000
parents 52c5ee1fa455
children 44b792841e3f
comparison
equal deleted inserted replaced
366:2e408d9918d4 367:d5409bf03ff1
733 strncmp (pos + len, "://", 3) == 0) 733 strncmp (pos + len, "://", 3) == 0)
734 pos += len + 3; 734 pos += len + 3;
735 735
736 if (i == GFTP_LOCAL_NUM) 736 if (i == GFTP_LOCAL_NUM)
737 { 737 {
738 for (; *pos == ' ' || *pos == '\t'; pos++);
738 request->directory = g_strdup (pos); 739 request->directory = g_strdup (pos);
739 g_free (stpos); 740 g_free (stpos);
740 return (0); 741 return (0);
741 } 742 }
742 743