httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r794487 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
Date Thu, 16 Jul 2009 01:48:22 GMT
Author: wrowe
Date: Thu Jul 16 01:48:22 2009
New Revision: 794487

URL: http://svn.apache.org/viewvc?rev=794487&view=rev
Log:
correct typo and reflow for clarity

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

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=794487&r1=794486&r2=794487&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c Thu Jul 16 01:48:22 2009
@@ -2761,7 +2761,8 @@
 {
     ftp_connection *fc = ftp_get_module_config(r->connection->conn_config);
 
-    if (*arg && !arg[1]) {
+    if (*arg && !arg[1])
+    {
         switch (toupper(*arg)) {
         case 'A':
             fc->type = TYPE_A;
@@ -2772,7 +2773,8 @@
             fc->response_notes = apr_pstrdup(r->pool, "Type set to I.");
             return FTP_REPLY_COMMAND_OK;
         }
-    } else if (!strcasecmp(arg, "A N")) {
+    }
+    else if (!strcasecmp(arg, "A N")) {
         /*
          * Accept Ascii Non-Print
          */
@@ -2780,7 +2782,7 @@
         fc->response_notes = apr_pstrdup(r->pool, "Type set to A N.");
         return FTP_REPLY_COMMAND_OK;
     }
-    } else if (!strcasecmp(arg, "L 8")) {
+    else if (!strcasecmp(arg, "L 8")) {
         /*
          * Treat Local 8 as indistinguishible from Image for httpd platforms
          */



Mime
View raw message