From: Brian Pane Date: Sat, 13 Jul 2002 18:16:33 +0000 (+0000) Subject: added apr_is_empty_array() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0b02b364a9c99185e176b24ce15c841d2b54803;p=apache added apr_is_empty_array() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96051 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 3537f7ce41..4c0309c5f4 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -1558,7 +1558,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f, r->content_encoding); } - if (!apr_is_empty_table(r->content_languages)) { + if (!apr_is_empty_array(r->content_languages)) { int i; char **languages = (char **)(r->content_languages->elts); for (i = 0; i < r->content_languages->nelts; ++i) {