| 2242 | } |
| 2243 | |
| 2244 | static int is_mboxrd_from(const char *line, int len) |
| 2245 | { |
| 2246 | /* |
| 2247 | * a line matching /^From $/ here would only have len == 4 |
| 2248 | * at this point because is_empty_line would've trimmed all |
| 2249 | * trailing space |
| 2250 | */ |
| 2251 | return len > 4 && starts_with(line + strspn(line, ">"), "From "); |
| 2252 | } |
| 2253 | |
| 2254 | void pp_remainder(struct pretty_print_context *pp, |
| 2255 | const char **msg_p, |
no test coverage detected