You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_ftp-commits@incubator.apache.org by wr...@apache.org on 2007/01/26 02:18:45 UTC
svn commit: r500106 - /incubator/mod_ftp/trunk/modules/ftp/ftp_protocol.c
Author: wrowe
Date: Thu Jan 25 18:18:44 2007
New Revision: 500106
URL: http://svn.apache.org/viewvc?view=rev&rev=500106
Log:
Define 215 SYST response Type: as L8 (left aligned 8 bit data transmission)
and add Server: "ServerTokens" as defined for the HTTP Server: header, as already
displayed in the 220 message.
Modified:
incubator/mod_ftp/trunk/modules/ftp/ftp_protocol.c
Modified: incubator/mod_ftp/trunk/modules/ftp/ftp_protocol.c
URL: http://svn.apache.org/viewvc/incubator/mod_ftp/trunk/modules/ftp/ftp_protocol.c?view=diff&rev=500106&r1=500105&r2=500106
==============================================================================
--- incubator/mod_ftp/trunk/modules/ftp/ftp_protocol.c (original)
+++ incubator/mod_ftp/trunk/modules/ftp/ftp_protocol.c Thu Jan 25 18:18:44 2007
@@ -711,13 +711,9 @@
"END");
break;
case FTP_REPLY_SYSTEM_TYPE:
-#ifdef WIN32
ftp_reply(fc, c->output_filters, r->pool, FTP_REPLY_SYSTEM_TYPE, 0,
- "Win32 Type");
-#else
- ftp_reply(fc, c->output_filters, r->pool, FTP_REPLY_SYSTEM_TYPE, 0,
- "UNIX Type");
-#endif /* WIN32 */
+ apr_pstrcat(r->pool, "UNIX Type: L8 System: \"",
+ ap_get_server_version(), "\"", NULL));
break;
case FTP_REPLY_CONTROL_CLOSE:
fsc = ftp_get_module_config(c->base_server->module_config);