Lines 227-233
Link Here
|
227 |
expires_dir_config *new = |
227 |
expires_dir_config *new = |
228 |
(expires_dir_config *) apr_pcalloc(p, sizeof(expires_dir_config)); |
228 |
(expires_dir_config *) apr_pcalloc(p, sizeof(expires_dir_config)); |
229 |
new->active = ACTIVE_DONTCARE; |
229 |
new->active = ACTIVE_DONTCARE; |
230 |
new->expiresdefault = ""; |
230 |
new->expiresdefault = NULL; |
231 |
new->expiresbytype = apr_table_make(p, 4); |
231 |
new->expiresbytype = apr_table_make(p, 4); |
232 |
return (void *) new; |
232 |
return (void *) new; |
233 |
} |
233 |
} |
Lines 404-410
Link Here
|
404 |
new->active = add->active; |
404 |
new->active = add->active; |
405 |
} |
405 |
} |
406 |
|
406 |
|
407 |
if (add->expiresdefault[0] != '\0') { |
407 |
if (add->expiresdefault != NULL) { |
408 |
new->expiresdefault = add->expiresdefault; |
408 |
new->expiresdefault = add->expiresdefault; |
409 |
} |
409 |
} |
410 |
else { |
410 |
else { |