View | Details | Raw Unified | Return to bug 53104
Collapse All | Expand All

(-)modules/loggers/mod_log_config.c (-2 / +2 lines)
Lines 517-526 Link Here
517
        while ((cookie = apr_strtok(cookies, ";", &last1))) {
517
        while ((cookie = apr_strtok(cookies, ";", &last1))) {
518
            char *name = apr_strtok(cookie, "=", &last2);
518
            char *name = apr_strtok(cookie, "=", &last2);
519
            if (name) {
519
            if (name) {
520
                char *value;
520
                char *value = name + strlen(name) + 1;
521
                apr_collapse_spaces(name, name);
521
                apr_collapse_spaces(name, name);
522
522
523
                if (!strcasecmp(name, a) && (value = apr_strtok(NULL, "=", &last2))) {
523
                if (!strcasecmp(name, a))  {
524
                    char *last;
524
                    char *last;
525
                    value += strspn(value, " \t");  /* Move past leading WS */
525
                    value += strspn(value, " \t");  /* Move past leading WS */
526
                    last = value + strlen(value) - 1;
526
                    last = value + strlen(value) - 1;

Return to bug 53104