httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r794526 - in /httpd/mod_ftp/trunk: include/mod_ftp.h modules/ftp/ftp_commands.c
Date Thu, 16 Jul 2009 05:04:48 GMT
Author: wrowe
Date: Thu Jul 16 05:04:48 2009
New Revision: 794526

URL: http://svn.apache.org/viewvc?rev=794526&view=rev
Log:
RFC1123 errata

Modified:
    httpd/mod_ftp/trunk/include/mod_ftp.h
    httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c

Modified: httpd/mod_ftp/trunk/include/mod_ftp.h
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/include/mod_ftp.h?rev=794526&r1=794525&r2=794526&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/include/mod_ftp.h (original)
+++ httpd/mod_ftp/trunk/include/mod_ftp.h Thu Jul 16 05:04:48 2009
@@ -78,6 +78,8 @@
 #define FTP_REPLY_PAGE_TYPE_UNKNOWN       551
 #define FTP_REPLY_EXEEDED_STORAGE         552
 #define FTP_REPLY_FILENAME_NOT_ALLOWED    553
+#define FTP_REPLY_INVALID_REST_PARAM      554
+#define FTP_REPLY_TYPE_OR_STRU_MISMATCH   555
 
 #if defined(WIN32) && defined(FTP_DECLARE_EXPORT)
 #define FTP_DECLARE_DATA __declspec(dllexport)

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c?rev=794526&r1=794525&r2=794526&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c Thu Jul 16 05:04:48 2009
@@ -2618,7 +2618,7 @@
                 fchmod(fd, fixmode);
 #endif
             fc->restart_point = 0;
-            return FTP_REPLY_FILE_NOT_FOUND;
+            return FTP_REPLY_INVALID_REST_PARAM;
         }
     }
     fc->restart_point = 0;



Mime
View raw message