httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_cgi.c mod_cgid.c
Date Wed, 26 Dec 2001 17:31:48 GMT
jwoolley    01/12/26 09:31:48

  Modified:    modules/generators mod_cgi.c mod_cgid.c
  Log:
  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.
  
  Revision  Changes    Path
  1.115     +2 -1      httpd-2.0/modules/generators/mod_cgi.c
  
  Index: mod_cgi.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_cgi.c,v
  retrieving revision 1.114
  retrieving revision 1.115
  diff -u -d -u -r1.114 -r1.115
  --- mod_cgi.c	2001/12/26 08:58:55	1.114
  +++ mod_cgi.c	2001/12/26 17:31:48	1.115
  @@ -795,7 +795,8 @@
            * it'd be more efficient to pstrcat it into a single pool buffer
            * 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);
           tmp2_buck = apr_bucket_heap_create(location, len_loc, 1);
           APR_BUCKET_INSERT_BEFORE(head_ptr, tmp2_buck);
  
  
  
  1.108     +2 -1      httpd-2.0/modules/generators/mod_cgid.c
  
  Index: mod_cgid.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_cgid.c,v
  retrieving revision 1.107
  retrieving revision 1.108
  diff -u -d -u -r1.107 -r1.108
  --- mod_cgid.c	2001/12/26 08:58:55	1.107
  +++ mod_cgid.c	2001/12/26 17:31:48	1.108
  @@ -1114,7 +1114,8 @@
            * it'd be more efficient to pstrcat it into a single pool buffer
            * 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);
           tmp2_buck = apr_bucket_heap_create(location, len_loc, 1);
           APR_BUCKET_INSERT_BEFORE(head_ptr, tmp2_buck);
  
  
  

Mime
View raw message