comparison 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
comparison
equal deleted inserted replaced
113:b83715e9535c 114:fe36ed90aedd
307 else if (ret != '2') 307 else if (ret != '2')
308 return (GFTP_ERETRYABLE); 308 return (GFTP_ERETRYABLE);
309 309
310 if ((stpos = strchr (request->last_ftp_response, ' ')) == NULL) 310 if ((stpos = strchr (request->last_ftp_response, ' ')) == NULL)
311 return (GFTP_ERETRYABLE); 311 return (GFTP_ERETRYABLE);
312
313 stpos++;
312 314
313 if ((endpos = strchr (stpos, ' ')) == NULL) 315 if ((endpos = strchr (stpos, ' ')) == NULL)
314 return (GFTP_ERETRYABLE); 316 return (GFTP_ERETRYABLE);
315 317
316 *endpos = '\0'; 318 *endpos = '\0';