need to, not before.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@93388
13f79535-47bb-0310-9956-
ffa450edef68
{
long int offset = 0;
long int count = 0;
- const char *initial = ap_table_get(t, key);
+ char *value = NULL;
/* get the value to unmerge */
- char *value = ap_pstrdup(p, initial);
- if (!value) {
+ const char *initial = ap_table_get(t, key);
+ if (!initial) {
return;
}
-
+ value = ap_pstrdup(p, initial);
/* remove the value from the headers */
ap_table_unset(t, key);