From e8319b093a4f1547225120fb3787f78a9ac68cef Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Fri, 26 May 2017 13:06:43 +0100 Subject: [PATCH] build: clang-format source code --- imap/message.c | 19 +++++++++++-------- mx.c | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/imap/message.c b/imap/message.c index 27eb6b29e..9f04f3f96 100644 --- a/imap/message.c +++ b/imap/message.c @@ -306,7 +306,7 @@ static int msg_fetch_header(struct Context *ctx, struct ImapHeader *h, char *buf struct ImapData *idata = NULL; long bytes; int rc = -1; /* default now is that string isn't FETCH response */ - int parse_rc; + int parse_rc; idata = ctx->data; @@ -571,8 +571,8 @@ int imap_read_headers(struct ImapData *idata, unsigned int msn_begin, unsigned i if (!h.data->uid) { mutt_debug(2, "imap_read_headers: skipping hcache FETCH " - "response for message number %d missing a UID\n", - h.data->msn); + "response for message number %d missing a UID\n", + h.data->msn); continue; } @@ -587,7 +587,8 @@ int imap_read_headers(struct ImapData *idata, unsigned int msn_begin, unsigned i if (idata->msn_index[h.data->msn - 1]) { mutt_debug(2, "imap_read_headers: skipping hcache FETCH " - "for duplicate message %d\n", h.data->msn); + "for duplicate message %d\n", + h.data->msn); continue; } @@ -685,8 +686,8 @@ int imap_read_headers(struct ImapData *idata, unsigned int msn_begin, unsigned i if (!ftello(fp)) { - mutt_debug(2, - "msg_fetch_header: ignoring fetch response with no body\n"); + mutt_debug( + 2, "msg_fetch_header: ignoring fetch response with no body\n"); continue; } @@ -696,7 +697,8 @@ int imap_read_headers(struct ImapData *idata, unsigned int msn_begin, unsigned i if (h.data->msn < 1 || h.data->msn > fetch_msn_end) { mutt_debug(1, "imap_read_headers: skipping FETCH response for " - "unknown message number %d\n", h.data->msn); + "unknown message number %d\n", + h.data->msn); continue; } @@ -704,7 +706,8 @@ int imap_read_headers(struct ImapData *idata, unsigned int msn_begin, unsigned i if (idata->msn_index[h.data->msn - 1]) { mutt_debug(2, "imap_read_headers: skipping FETCH response for " - "duplicate message %d\n", h.data->msn); + "duplicate message %d\n", + h.data->msn); continue; } diff --git a/mx.c b/mx.c index f6c341b61..32d4519fd 100644 --- a/mx.c +++ b/mx.c @@ -1063,7 +1063,7 @@ int mx_close_mailbox(struct Context *ctx, int *index_hint) ctx->flagged--; } ctx->msgcount -= ctx->deleted; - mutt_sb_set_buffystats (ctx); + mutt_sb_set_buffystats(ctx); ctx->msgcount = orig_msgcount; } #endif -- 2.40.0