diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-01-26 20:27:26 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-01-26 20:27:26 +0100 |
commit | 2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6 (patch) | |
tree | 240cda05651bf8822b3eb47dee3a6781b064277a /mscan.c | |
parent | c561aca4c9affa597d6a36d39d8a65c58ca78c87 (diff) | |
download | mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.tar.gz mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.tar.xz mblaze-2b4e3aa66dc66c6c5c6f74c60c597e734b539ff6.zip |
clean up whitespace
Diffstat (limited to 'mscan.c')
-rw-r--r-- | mscan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mscan.c b/mscan.c index 2a2c543..992148d 100644 --- a/mscan.c +++ b/mscan.c @@ -143,7 +143,7 @@ fmt_date(struct message *msg, int w, int iso) else if (tm->tm_yday != curyday) strftime(date, sizeof date, "%a %b %e", tm); else - strftime(date, sizeof date, "%a %H:%M", tm); + strftime(date, sizeof date, "%a %H:%M", tm); } return date; @@ -173,7 +173,7 @@ fmt_subject(struct message *msg, char *file, int strip) i++; continue; } else if (strncasecmp("re:", subjdec+i, 3) == 0 || - strncasecmp("aw:", subjdec+i, 3) == 0) { + strncasecmp("aw:", subjdec+i, 3) == 0) { i += 3; continue; } else if (strncasecmp("fwd:", subjdec+i, 4) == 0) { @@ -198,7 +198,7 @@ fmt_from(struct message *msg) if (!msg) return ""; - if ((v = blaze822_hdr(msg, "from"))) { + if ((v = blaze822_hdr(msg, "from"))) { blaze822_decode_rfc2047(fromdec, v, sizeof fromdec - 1, "UTF-8"); fromdec[sizeof fromdec - 1] = 0; from = fromdec; @@ -505,7 +505,7 @@ main(int argc, char *argv[]) curyear = tm->tm_year; curyday = tm->tm_yday; - setlocale(LC_ALL, ""); // for wcwidth later + setlocale(LC_ALL, ""); // for wcwidth later if (wcwidth(0xfffd) > 0) replacement = 0xfffd; |