From 76e5f223ee975ede474333247d43888d18d77ece Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 6 Aug 2024 00:43:42 +0200 Subject: [PATCH] add missing trailing newlines in error() calls --- src/drv_imap.c | 2 +- src/drv_maildir.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drv_imap.c b/src/drv_imap.c index b4c05fd..1280e3c 100644 --- a/src/drv_imap.c +++ b/src/drv_imap.c @@ -1682,7 +1682,7 @@ prepare_box( char **buf, const imap_store_t *ctx ) if (!memcmp( name, "INBOX", 5 )) { pfx = ""; } else if (!*pfx) { - error( "IMAP error: cannot use unqualified '%s'. Did you mean INBOX?", name ); + error( "IMAP error: cannot use unqualified '%s'. Did you mean INBOX?\n", name ); return -1; } } diff --git a/src/drv_maildir.c b/src/drv_maildir.c index 847bc06..d15cf46 100644 --- a/src/drv_maildir.c +++ b/src/drv_maildir.c @@ -1533,7 +1533,7 @@ maildir_fetch_msg( store_t *gctx, message_t *gmsg, msg_data_t *data, int minimal } fstat( fd, &st ); if (st.st_size > INT_MAX) { - error( "Maildir error: %s is too big", buf ); + error( "Maildir error: %s is too big\n", buf ); goto mbad; } data->len = st.st_size;