You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mr...@apache.org on 2017/03/10 16:42:26 UTC

svn commit: r1786384 - /httpd/httpd/trunk/server/protocol.c

Author: mrumph
Date: Fri Mar 10 16:42:26 2017
New Revision: 1786384

URL: http://svn.apache.org/viewvc?rev=1786384&view=rev
Log:
Fix some spelling errors in comments

Modified:
    httpd/httpd/trunk/server/protocol.c

Modified: httpd/httpd/trunk/server/protocol.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/protocol.c?rev=1786384&r1=1786383&r2=1786384&view=diff
==============================================================================
--- httpd/httpd/trunk/server/protocol.c (original)
+++ httpd/httpd/trunk/server/protocol.c Fri Mar 10 16:42:26 2017
@@ -521,7 +521,7 @@ AP_CORE_DECLARE(void) ap_parse_uri(reque
      *
      * This is not in fact a URI, it's a path.  That matters in the
      * case of a leading double-slash.  We need to resolve the issue
-     * by normalising that out before treating it as a URI.
+     * by normalizing that out before treating it as a URI.
      */
     while ((uri[0] == '/') && (uri[1] == '/')) {
         ++uri ;
@@ -751,7 +751,7 @@ static int read_request_line(request_rec
     *((char *)r->protocol + len) = '\0';
 
 rrl_done:
-    /* For internal integrety and palloc efficiency, reconstruct the_request
+    /* For internal integrity and palloc efficiency, reconstruct the_request
      * in one palloc, using only single SP characters, per spec.
      */
     r->the_request = apr_pstrcat(r->pool, r->method, *uri ? " " : NULL, uri,
@@ -794,7 +794,7 @@ rrl_done:
     }
 
     /* Determine the method_number and parse the uri prior to invoking error
-     * handling, such that these fields are available for subsitution
+     * handling, such that these fields are available for substitution
      */
     r->method_number = ap_method_number_of(r->method);
     if (r->method_number == M_GET && r->method[0] == 'H')
@@ -1057,7 +1057,7 @@ AP_DECLARE(void) ap_get_mime_headers_cor
         else if (last_field != NULL) {
 
             /* Process the previous last_field header line with all obs-folded
-             * segments already concatinated (this is not operating on the
+             * segments already concatenated (this is not operating on the
              * most recently read input line).
              */
 



Re: svn commit: r1786384 - /httpd/httpd/trunk/server/protocol.c

Posted by Mike Rumph <mi...@oracle.com>.

On 3/10/2017 8:42 AM, mrumph@apache.org wrote:
> Author: mrumph
> Date: Fri Mar 10 16:42:26 2017
> New Revision: 1786384
>
> URL: http://svn.apache.org/viewvc?rev=1786384&view=rev
> Log:
> Fix some spelling errors in comments
>
> Modified:
>      httpd/httpd/trunk/server/protocol.c
>
> Modified: httpd/httpd/trunk/server/protocol.c
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/protocol.c?rev=1786384&r1=1786383&r2=1786384&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/server/protocol.c (original)
> +++ httpd/httpd/trunk/server/protocol.c Fri Mar 10 16:42:26 2017
> @@ -521,7 +521,7 @@ AP_CORE_DECLARE(void) ap_parse_uri(reque
>        *
>        * This is not in fact a URI, it's a path.  That matters in the
>        * case of a leading double-slash.  We need to resolve the issue
> -     * by normalising that out before treating it as a URI.
> +     * by normalizing that out before treating it as a URI.
This one is actually a difference between British and American English.
I switched the spelling to the American version.
Any objections?
>        */
>       while ((uri[0] == '/') && (uri[1] == '/')) {
>           ++uri ;
> @@ -751,7 +751,7 @@ static int read_request_line(request_rec
>       *((char *)r->protocol + len) = '\0';
>   
>   rrl_done:
> -    /* For internal integrety and palloc efficiency, reconstruct the_request
> +    /* For internal integrity and palloc efficiency, reconstruct the_request
>        * in one palloc, using only single SP characters, per spec.
>        */
>       r->the_request = apr_pstrcat(r->pool, r->method, *uri ? " " : NULL, uri,
> @@ -794,7 +794,7 @@ rrl_done:
>       }
>   
>       /* Determine the method_number and parse the uri prior to invoking error
> -     * handling, such that these fields are available for subsitution
> +     * handling, such that these fields are available for substitution
>        */
>       r->method_number = ap_method_number_of(r->method);
>       if (r->method_number == M_GET && r->method[0] == 'H')
> @@ -1057,7 +1057,7 @@ AP_DECLARE(void) ap_get_mime_headers_cor
>           else if (last_field != NULL) {
>   
>               /* Process the previous last_field header line with all obs-folded
> -             * segments already concatinated (this is not operating on the
> +             * segments already concatenated (this is not operating on the
>                * most recently read input line).
>                */
>   
>
>
>