diff lib/rfc959.c @ 114:fe36ed90aedd

2003-2-23 Brian Masney <masneyb@gftp.org> * lib/cache.c - added function gftp_parse_cache_entry(). Save request->server_type (output of SYST in FTP command) to the directory entry * lib/rfc959.c (rfc959_syst) - fix to parse the output correctly * src/{text,gtk}/Makefile.am - remove @LIBINTL@. The gettext.m4 macro should automatically add this to the LIBS variable
author masneyb
date Mon, 24 Feb 2003 02:47:58 +0000
parents 982e3890e7fe
children 76e2b58a9440
line wrap: on
line diff
--- a/lib/rfc959.c	Mon Feb 24 02:22:49 2003 +0000
+++ b/lib/rfc959.c	Mon Feb 24 02:47:58 2003 +0000
@@ -310,6 +310,8 @@
   if ((stpos = strchr (request->last_ftp_response, ' ')) == NULL)
     return (GFTP_ERETRYABLE);
 
+  stpos++;
+
   if ((endpos = strchr (stpos, ' ')) == NULL)
     return (GFTP_ERETRYABLE);