| 166 | } |
| 167 | |
| 168 | static int log_headers(void *h_, const char *key, const char *value) |
| 169 | { |
| 170 | hlog *h = h_; |
| 171 | |
| 172 | /* note that we don't have to check h->pos here, coz its been done |
| 173 | for us by log_escape */ |
| 174 | *h->pos++ = '|'; |
| 175 | h->pos = log_escape(h->pos, h->end, key); |
| 176 | *h->pos++ = ':'; |
| 177 | h->pos = log_escape(h->pos, h->end, value); |
| 178 | |
| 179 | return 1; |
| 180 | } |
| 181 | |
| 182 | static int log_before(request_rec *r) |
| 183 | { |
nothing calls this directly
no test coverage detected