httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/http error_bucket.c http_protocol.c
Date Tue, 13 Feb 2001 20:24:39 GMT
dougm       01/02/13 12:24:39

  Modified:    include  http_protocol.h
               modules/http error_bucket.c http_protocol.c
  Log:
  rename:
  ap_bucket_create_error -> ap_bucket_error_create
  ap_bucket_make_error   -> ap_bucket_error_make
  
  Revision  Changes    Path
  1.53      +4 -4      httpd-2.0/include/http_protocol.h
  
  Index: http_protocol.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/http_protocol.h,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- http_protocol.h	2001/02/09 07:17:52	1.52
  +++ http_protocol.h	2001/02/13 20:24:37	1.53
  @@ -576,9 +576,9 @@
    * @param buf An optional error string to put in the bucket.
    * @param p A pool to allocate out of.
    * @return The new bucket, or NULL if allocation failed
  - * @deffunc apr_bucket *ap_bucket_make_error(apr_bucket *b, int error, const char *buf,
apr_pool_t *p)
  + * @deffunc apr_bucket *ap_bucket_error_make(apr_bucket *b, int error, const char *buf,
apr_pool_t *p)
    */
  -AP_DECLARE(apr_bucket *) ap_bucket_make_error(apr_bucket *b, int error,
  +AP_DECLARE(apr_bucket *) ap_bucket_error_make(apr_bucket *b, int error,
                   const char *buf, apr_pool_t *p);
   
   /**
  @@ -587,9 +587,9 @@
    * @param buf An optional error string to put in the bucket.
    * @param p A pool to allocate out of.
    * @return The new bucket, or NULL if allocation failed
  - * @deffunc apr_bucket *ap_bucket_create_error(int error, const char *buf, apr_pool_t *p)
  + * @deffunc apr_bucket *ap_bucket_error_create(int error, const char *buf, apr_pool_t *p)
    */
  -AP_DECLARE(apr_bucket *) ap_bucket_create_error(int error,
  +AP_DECLARE(apr_bucket *) ap_bucket_error_create(int error,
                   const char *buf, apr_pool_t *p);
   
   #ifdef __cplusplus
  
  
  
  1.5       +3 -3      httpd-2.0/modules/http/error_bucket.c
  
  Index: error_bucket.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/error_bucket.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- error_bucket.c	2001/02/08 07:44:03	1.4
  +++ error_bucket.c	2001/02/13 20:24:38	1.5
  @@ -68,7 +68,7 @@
       return APR_SUCCESS;
   }
   
  -AP_DECLARE(apr_bucket *) ap_bucket_make_error(apr_bucket *b, int error, 
  +AP_DECLARE(apr_bucket *) ap_bucket_error_make(apr_bucket *b, int error, 
   		const char *buf, apr_pool_t *p)
   {
       ap_bucket_error *h;
  @@ -88,10 +88,10 @@
       return b;
   }
   
  -AP_DECLARE(apr_bucket *) ap_bucket_create_error(int error, 
  +AP_DECLARE(apr_bucket *) ap_bucket_error_create(int error, 
   		const char *buf, apr_pool_t *p)
   {
  -    apr_bucket_do_create(ap_bucket_make_error(b, error, buf, p));
  +    apr_bucket_do_create(ap_bucket_error_make(b, error, buf, p));
   }
   
   AP_DECLARE_DATA const apr_bucket_type_t ap_bucket_type_error = {
  
  
  
  1.297     +1 -1      httpd-2.0/modules/http/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
  retrieving revision 1.296
  retrieving revision 1.297
  diff -u -r1.296 -r1.297
  --- http_protocol.c	2001/02/11 01:09:02	1.296
  +++ http_protocol.c	2001/02/13 20:24:38	1.297
  @@ -237,7 +237,7 @@
           if (num_ranges == -1) {
               ap_remove_output_filter(f);
               bsend = apr_brigade_create(r->pool);
  -            e = ap_bucket_create_error(HTTP_RANGE_NOT_SATISFIABLE, NULL, r->pool);
  +            e = ap_bucket_error_create(HTTP_RANGE_NOT_SATISFIABLE, NULL, r->pool);
               APR_BRIGADE_INSERT_TAIL(bsend, e);
               e = apr_bucket_eos_create();
               APR_BRIGADE_INSERT_TAIL(bsend, e);
  
  
  

Mime
View raw message