Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 100025
Collapse All | Expand All

(-)httpd-2.0.54/modules/mappers/mod_dir.c (-3 / +3 lines)
Lines 158-163 Link Here
158
    int num_names;
158
    int num_names;
159
    int error_notfound = 0;
159
    int error_notfound = 0;
160
160
161
    /* Merge index_names and index_names_incr */
162
    apr_array_header_t *index_names;
163
161
    /* only handle requests against directories */
164
    /* only handle requests against directories */
162
    if (r->finfo.filetype != APR_DIR) {
165
    if (r->finfo.filetype != APR_DIR) {
163
        return DECLINED;
166
        return DECLINED;
Lines 212-220 Link Here
212
        return DECLINED;
215
        return DECLINED;
213
    }
216
    }
214
217
215
	/* Merge index_names and index_names_incr */
216
	apr_array_header_t *index_names;
217
218
	if (d->index_names) {
218
	if (d->index_names) {
219
		if (d->index_names_incr) {
219
		if (d->index_names_incr) {
220
			index_names = apr_array_append(r->pool, d->index_names, d->index_names_incr);
220
			index_names = apr_array_append(r->pool, d->index_names, d->index_names_incr);

Return to bug 100025