Ticket #99: jabberd2-2.1.7-storage_db-fix.patch

File jabberd2-2.1.7-storage_db-fix.patch, 1.0 KB (added by AlexSid, 17 months ago)
  • storage/storage_db.c

    old new  
    333333            f = storage_filter(filter); 
    334334            cfilter = pstrdup(xhash_pool(data->filters), filter); 
    335335            xhash_put(data->filters, cfilter, (void *) f); 
    336             pool_cleanup(xhash_pool(data->filters), (pool_cleaner) pool_free, f->p); 
     336            pool_cleanup(xhash_pool(data->filters), (pool_cleanup_t) pool_free, f->p); 
    337337        } 
    338338    } 
    339339 
     
    393393            f = storage_filter(filter); 
    394394            cfilter = pstrdup(xhash_pool(data->filters), filter); 
    395395            xhash_put(data->filters, cfilter, (void *) f); 
    396             pool_cleanup(xhash_pool(data->filters), (pool_cleaner) pool_free, f->p); 
     396            pool_cleanup(xhash_pool(data->filters), (pool_cleanup_t) pool_free, f->p); 
    397397        } 
    398398    } 
    399399