Commit 6328b6ac authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Need some context for the iterator!  Finally get to use that accessor :)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89866 13f79535-47bb-0310-9956-ffa450edef68
parent 172e8981
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -165,11 +165,12 @@ static void *create_server_config(apr_pool_t *p, server_rec *s)
static apr_status_t cleanup_file_cache(void *sconfv)
{
    a_server_config *sconf = sconfv;
    apr_pool_t *p = apr_hash_pool_get(sconf->fileht);
    a_file *file;
    apr_hash_index_t *hi;

    /* Iterate over the file hash table and clean up each entry */
    for (hi = apr_hash_first(sconf->fileht); hi; hi=apr_hash_next(hi)) {
    for (hi = apr_hash_first(p, sconf->fileht); hi; hi=apr_hash_next(hi)) {
        apr_hash_this(hi, NULL, NULL, (void **)&file);
#if APR_HAS_MMAP
        if (file->is_mmapped) { 
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ int dav_get_liveprop_ns_count(void)

void dav_add_all_liveprop_xmlns(apr_pool_t *p, ap_text_header *phdr)
{
    apr_hash_index_t *idx = apr_hash_first(dav_liveprop_uris);
    apr_hash_index_t *idx = apr_hash_first(p, dav_liveprop_uris);

    for ( ; idx != NULL; idx = apr_hash_next(idx) ) {
        const void *key;
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ static void overlay_extension_mappings(apr_pool_t *p,
                                       apr_hash_t *overlay, apr_hash_t *base)
{
    apr_hash_index_t *index;
    for (index = apr_hash_first(overlay); index;
    for (index = apr_hash_first(p, overlay); index;
         index = apr_hash_next(index)) {
        char *key;
        apr_ssize_t klen;