| 475 | } |
| 476 | |
| 477 | static const char *zap_sp(const char *s) |
| 478 | { |
| 479 | if (s == NULL) { |
| 480 | return (NULL); |
| 481 | } |
| 482 | if (*s == '\0') { |
| 483 | return (s); |
| 484 | } |
| 485 | |
| 486 | /* skip prefixed white space */ |
| 487 | for (; *s == ' ' || *s == '\t' || *s == '\n'; s++) |
| 488 | ; |
| 489 | |
| 490 | return (s); |
| 491 | } |
| 492 | |
| 493 | static char *zap_sp_and_dup(apr_pool_t *p, const char *start, |
| 494 | const char *end, apr_size_t *len) |