changeset 601:0e4ca3c8b9cf

2004-11-1 Brian Masney <masneyb@gftp.org> * lib/protocols.c (gftp_parse_ls_novell) - fixes for parsing directory listings that have a space in their username
author masneyb
date Mon, 01 Nov 2004 11:07:29 +0000
parents 0a1d03fa2261
children 89216879202f
files ChangeLog lib/protocols.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Nov 01 11:00:21 2004 +0000
+++ b/ChangeLog	Mon Nov 01 11:07:29 2004 +0000
@@ -1,4 +1,7 @@
 2004-11-1 Brian Masney <masneyb@gftp.org>
+	* lib/protocols.c (gftp_parse_ls_novell) - fixes for parsing directory
+	listings that have a space in their username
+
 	* lib/config_file.c (gftp_read_config_file) - fixes for creating the
 	protocol dropdown when SSL support is disabled
 	(from Aurelien Jarno <aurelien@aurel32.net>)
@@ -2976,7 +2979,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.350 2004/11/01 11:00:21 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.351 2004/11/01 11:07:29 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/lib/protocols.c	Mon Nov 01 11:00:21 2004 +0000
+++ b/lib/protocols.c	Mon Nov 01 11:07:29 2004 +0000
@@ -1733,6 +1733,9 @@
 
   fle->group = g_strdup (_("unknown"));
 
+  while (*startpos != '\0' && !isdigit (*startpos))
+    startpos++;
+
   fle->size = gftp_parse_file_size (startpos);
 
   startpos = goto_next_token (startpos);