Mercurial > gftp.yaz
comparison lib/rfc959.c @ 107:982e3890e7fe
2003-2-17 Brian Masney <masneyb@gftp.org>
* lib/protocols.c lib/rfc959.c - added VMS directory listing support
* lib/config_file.c lib/protocols.c - extra checks when stripping off
carriage returns and linefeeds
author | masneyb |
---|---|
date | Mon, 17 Feb 2003 22:42:16 +0000 |
parents | ae13b18c9336 |
children | fe36ed90aedd |
comparison
equal
deleted
inserted
replaced
106:d70ba687cb8e | 107:982e3890e7fe |
---|---|
314 return (GFTP_ERETRYABLE); | 314 return (GFTP_ERETRYABLE); |
315 | 315 |
316 *endpos = '\0'; | 316 *endpos = '\0'; |
317 if (strcmp (stpos, "UNIX") == 0) | 317 if (strcmp (stpos, "UNIX") == 0) |
318 request->server_type = GFTP_TYPE_UNIX; | 318 request->server_type = GFTP_TYPE_UNIX; |
319 else if (strcmp (stpos, "VMS") == 0) | |
320 request->server_type = GFTP_TYPE_VMS; | |
319 else | 321 else |
320 request->server_type = GFTP_TYPE_OTHER; | 322 request->server_type = GFTP_TYPE_OTHER; |
321 | 323 |
322 return (0); | 324 return (0); |
323 } | 325 } |