diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2018-10-08 08:24:14 +0000 | 
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2018-10-08 08:24:14 +0000 | 
| commit | f7eb533f85d0941dbf6edb3081f065e4c010b8cc (patch) | |
| tree | a9a3ba945deee0800d3818a48c45323608935019 /tables/apr_tables.c | |
| parent | df84d2567179e9d8867957c089683d753016bd75 (diff) | |
Diffstat (limited to 'tables/apr_tables.c')
| -rw-r--r-- | tables/apr_tables.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/tables/apr_tables.c b/tables/apr_tables.c index 2f5b4e537451..6d9aff88168d 100644 --- a/tables/apr_tables.c +++ b/tables/apr_tables.c @@ -1103,6 +1103,10 @@ APR_DECLARE(void) apr_table_compress(apr_table_t *t, unsigned flags)      int i;      int dups_found; +    if (flags == APR_OVERLAP_TABLES_ADD) { +        return; +    } +      if (t->a.nelts <= 1) {          return;      } | 
