| 4455 | |
| 4456 | |
| 4457 | static void |
| 4458 | xmlencode_print(const char *src, uint length) |
| 4459 | { |
| 4460 | if (!src) |
| 4461 | tee_fputs("NULL", PAGER); |
| 4462 | else |
| 4463 | { |
| 4464 | for (const char *p = src; length; p++, length--) |
| 4465 | { |
| 4466 | const char *t; |
| 4467 | if ((t = array_value(xmlmeta, *p))) |
| 4468 | tee_fputs(t, PAGER); |
| 4469 | else |
| 4470 | tee_putc(*p, PAGER); |
| 4471 | } |
| 4472 | } |
| 4473 | } |
| 4474 | |
| 4475 | |
| 4476 | static void |
no test coverage detected