diff 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
line wrap: on
line diff
--- a/lib/rfc959.c	Mon Feb 10 19:56:37 2003 +0000
+++ b/lib/rfc959.c	Mon Feb 17 22:42:16 2003 +0000
@@ -316,6 +316,8 @@
   *endpos = '\0';
   if (strcmp (stpos, "UNIX") == 0)
     request->server_type = GFTP_TYPE_UNIX;
+  else if (strcmp (stpos, "VMS") == 0)
+    request->server_type = GFTP_TYPE_VMS;
   else
     request->server_type = GFTP_TYPE_OTHER;