1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Related to Brian's commit to fix the XXX comments I'd added a while back.

These lines were broken too, I just hadn't commented them.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92609 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Cliff Woolley
2001-12-26 17:31:48 +00:00
parent 860303d77e
commit 436ecd5553
2 changed files with 4 additions and 2 deletions

View File

@@ -795,7 +795,8 @@ static int include_cgi(char *s, request_rec *r, ap_filter_t *next,
* it'd be more efficient to pstrcat it into a single pool buffer * it'd be more efficient to pstrcat it into a single pool buffer
* and a single pool bucket */ * and a single pool bucket */
tmp_buck = apr_bucket_immortal_create("<A HREF=\"", sizeof("<A HREF=\"")); tmp_buck = apr_bucket_immortal_create("<A HREF=\"",
sizeof("<A HREF=\"") - 1);
APR_BUCKET_INSERT_BEFORE(head_ptr, tmp_buck); APR_BUCKET_INSERT_BEFORE(head_ptr, tmp_buck);
tmp2_buck = apr_bucket_heap_create(location, len_loc, 1); tmp2_buck = apr_bucket_heap_create(location, len_loc, 1);
APR_BUCKET_INSERT_BEFORE(head_ptr, tmp2_buck); APR_BUCKET_INSERT_BEFORE(head_ptr, tmp2_buck);

View File

@@ -1114,7 +1114,8 @@ static int include_cgi(char *s, request_rec *r, ap_filter_t *next,
* it'd be more efficient to pstrcat it into a single pool buffer * it'd be more efficient to pstrcat it into a single pool buffer
* and a single pool bucket */ * and a single pool bucket */
tmp_buck = apr_bucket_immortal_create("<A HREF=\"", sizeof("<A HREF=\"")); tmp_buck = apr_bucket_immortal_create("<A HREF=\"",
sizeof("<A HREF=\"") - 1);
APR_BUCKET_INSERT_BEFORE(head_ptr, tmp_buck); APR_BUCKET_INSERT_BEFORE(head_ptr, tmp_buck);
tmp2_buck = apr_bucket_heap_create(location, len_loc, 1); tmp2_buck = apr_bucket_heap_create(location, len_loc, 1);
APR_BUCKET_INSERT_BEFORE(head_ptr, tmp2_buck); APR_BUCKET_INSERT_BEFORE(head_ptr, tmp2_buck);