Browse Source

add missing trailing newlines in error() calls

master
Oswald Buddenhagen 3 months ago
parent
commit
76e5f223ee
  1. 2
      src/drv_imap.c
  2. 2
      src/drv_maildir.c

2
src/drv_imap.c

@ -1682,7 +1682,7 @@ prepare_box( char **buf, const imap_store_t *ctx )
if (!memcmp( name, "INBOX", 5 )) { if (!memcmp( name, "INBOX", 5 )) {
pfx = ""; pfx = "";
} else if (!*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; return -1;
} }
} }

2
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 ); fstat( fd, &st );
if (st.st_size > INT_MAX) { 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; goto mbad;
} }
data->len = st.st_size; data->len = st.st_size;

Loading…
Cancel
Save