summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2016-12-22 19:25:47 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2016-12-22 19:25:47 +0000
commit7e2e79e016ffc47a449b8c3d0c639d4ff49cc894 (patch)
tree0710287c819809742d86fa50453e0c638bee365c
parentcf3415320eaceda6af5a074c47943ddad105cf9d (diff)
downloadhttpd-7e2e79e016ffc47a449b8c3d0c639d4ff49cc894.tar.gz
Backports: r1237407
Submitted by: trawick s/ensure/insure/ git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x-merge-http-strict@1775708 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--server/protocol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/protocol.c b/server/protocol.c
index 63f912d93f..c1aeac4ba2 100644
--- a/server/protocol.c
+++ b/server/protocol.c
@@ -454,7 +454,7 @@ AP_DECLARE(apr_status_t) ap_rgetline(char **s, apr_size_t n,
* 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;
@@ -591,7 +591,7 @@ static int read_request_line(request_rec *r, apr_bucket_brigade *bb)
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;
@@ -752,7 +752,7 @@ AP_DECLARE(void) ap_get_mime_headers_core(request_rec *r, apr_bucket_brigade *bb
* 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,