You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2012/01/29 19:22:36 UTC

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

Author: trawick
Date: Sun Jan 29 18:22:35 2012
New Revision: 1237407

URL: http://svn.apache.org/viewvc?rev=1237407&view=rev
Log:
s/insure/ensure/

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=1237407&r1=1237406&r2=1237407&view=diff
==============================================================================
--- httpd/httpd/trunk/server/protocol.c (original)
+++ httpd/httpd/trunk/server/protocol.c Sun Jan 29 18:22:35 2012
@@ -455,7 +455,7 @@ AP_DECLARE(apr_status_t) ap_rgetline(cha
      * on EBCDIC boxes, each complete http protocol input line needs to be
      * translated into the code page used by the compiler.  Since
      * ap_rgetline_core uses recursion, we do the translation in a wrapper
-     * function to insure that each input character gets translated only once.
+     * function to ensure that each input character gets translated only once.
      */
     apr_status_t rv;
 
@@ -592,7 +592,7 @@ static int read_request_line(request_rec
     do {
         apr_status_t rv;
 
-        /* insure ap_rgetline allocates memory each time thru the loop
+        /* ensure ap_rgetline allocates memory each time thru the loop
          * if there are empty lines
          */
         r->the_request = NULL;
@@ -747,7 +747,7 @@ AP_DECLARE(void) ap_get_mime_headers_cor
              * exceeds the configured limit for a field size.
              */
             if (rv == APR_ENOSPC && field) {
-                /* insure ap_escape_html will terminate correctly */
+                /* ensure ap_escape_html will terminate correctly */
                 field[len - 1] = '\0';
                 apr_table_setn(r->notes, "error-notes",
                                apr_psprintf(r->pool,