diff lib/protocols.c @ 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 0999b11f84e3
children 43a0556c994f
line wrap: on
line diff
--- 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);