httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_protocol.c
Date Tue, 17 Oct 2000 01:13:12 GMT
trawick     00/10/16 18:13:12

  Modified:    src/main http_protocol.c
  Log:
  Rename ap_debug_assert() to AP_DEBUG_ASSERT().
  This should have been committed with httpd.h a few minutes ago.
  Submitted by:	Greg Stein
  
  Revision  Changes    Path
  1.181     +3 -3      apache-2.0/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
  retrieving revision 1.180
  retrieving revision 1.181
  diff -u -r1.180 -r1.181
  --- http_protocol.c	2000/10/17 00:24:35	1.180
  +++ http_protocol.c	2000/10/17 01:13:11	1.181
  @@ -864,7 +864,7 @@
           }
       }
       --line;            /* point at '\n' */
  -    ap_debug_assert(*line == '\n');
  +    AP_DEBUG_ASSERT(*line == '\n');
       if (*(line - 1) == '\r') {
           --line;
       }
  @@ -952,12 +952,12 @@
           b = AP_BRIGADE_FIRST(bb);
           while (b != AP_BRIGADE_SENTINEL(bb) && !AP_BUCKET_IS_EOS(b)) {
               ap_bucket_read(b, &buf, &len, 1);
  -            ap_debug_assert(len <= ctx->chunk_size - ctx->bytes_delivered);
  +            AP_DEBUG_ASSERT(len <= ctx->chunk_size - ctx->bytes_delivered);
               ctx->bytes_delivered += len;
               b = AP_BUCKET_NEXT(b);
           }
           if (ctx->bytes_delivered == ctx->chunk_size) {
  -            ap_debug_assert(AP_BUCKET_IS_EOS(b));
  +            AP_DEBUG_ASSERT(AP_BUCKET_IS_EOS(b));
               AP_BUCKET_REMOVE(b);
               ap_bucket_destroy(b);
               ctx->state = WANT_TRL;
  
  
  

Mime
View raw message