| 1218 | } |
| 1219 | |
| 1220 | static size_t agent_next_line(const char *data, size_t length, size_t start, size_t *content_end) { |
| 1221 | size_t end = start; |
| 1222 | while (end < length && data[end] != '\n') { |
| 1223 | end++; |
| 1224 | } |
| 1225 | *content_end = end; |
| 1226 | return end < length ? end + 1U : end; |
| 1227 | } |
| 1228 | |
| 1229 | static size_t agent_line_indent(const char *data, size_t start, size_t end) { |
| 1230 | size_t indent = 0U; |
no outgoing calls
no test coverage detected