From: Jeff Trawick Date: Tue, 17 Oct 2000 01:13:11 +0000 (+0000) Subject: Rename ap_debug_assert() to AP_DEBUG_ASSERT(). X-Git-Tag: APACHE_2_0_ALPHA_8~342 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ace1c8b3b4e607a671716d76661dd655e9f875f;p=apache Rename ap_debug_assert() to AP_DEBUG_ASSERT(). This should have been committed with httpd.h a few minutes ago. Submitted by: Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86622 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 186b018d93..ed185975e9 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -864,7 +864,7 @@ static apr_status_t brigade_bgets(ap_bucket_brigade *bb, } } --line; /* point at '\n' */ - ap_debug_assert(*line == '\n'); + AP_DEBUG_ASSERT(*line == '\n'); if (*(line - 1) == '\r') { --line; } @@ -952,12 +952,12 @@ apr_status_t dechunk_filter(ap_filter_t *f, ap_bucket_brigade *bb, 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;