diff options
Diffstat (limited to 'src/erec.c')
-rw-r--r-- | src/erec.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -92,6 +92,7 @@ void erec_print(FILE *f, const struct error_record *erec) case INDESC_BUFFER: case INDESC_CLI: line = indesc->data; + *strchrnul(line, '\n') = '\0'; break; case INDESC_FILE: memset(buf, 0, sizeof(buf)); |