summaryrefslogtreecommitdiffstats
path: root/hdrline.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2018-12-31 16:06:53 -0800
committerKevin McCarthy <kevin@8t8.us>2018-12-31 16:06:53 -0800
commit443295ee65c3ebc5085fcab3cc9d533b0fac4f0f (patch)
treedc425cf8028e3b78c635148bfc0a905b1e800327 /hdrline.c
parent1c59c27129b45b9f2cfd630428f57c643276b906 (diff)
Remove trailing whitespace.
The result of find . -name "*.[ch]" -exec emacs -batch {} \ --eval="(progn (delete-trailing-whitespace) (and (buffer-modified-p) (save-buffer)))" \;
Diffstat (limited to 'hdrline.c')
-rw-r--r--hdrline.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/hdrline.c b/hdrline.c
index 5e79d32d..9b37f2fd 100644
--- a/hdrline.c
+++ b/hdrline.c
@@ -1,20 +1,20 @@
/*
* Copyright (C) 1996-2000,2002,2007 Michael R. Elkins <me@mutt.org>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
+ */
#if HAVE_CONFIG_H
# include "config.h"
@@ -176,7 +176,7 @@ int mutt_user_is_recipient (HEADER *h)
if(!h->recip_valid)
{
h->recip_valid = 1;
-
+
if (mutt_addr_is_user (env->from))
h->recipient = 4;
else if (user_in_addr (env->to))
@@ -195,7 +195,7 @@ int mutt_user_is_recipient (HEADER *h)
else
h->recipient = 0;
}
-
+
return h->recipient;
}
@@ -316,12 +316,12 @@ hdr_format_str (char *dest,
else
strfcpy (dest, ctx->path, destlen);
}
- else
+ else
strfcpy(dest, "(null)", destlen);
strfcpy (buf2, dest, sizeof(buf2));
mutt_format_s (dest, destlen, prefix, buf2);
break;
-
+
case 'c':
mutt_pretty_size (buf2, sizeof (buf2), (long) hdr->content->length);
mutt_format_s (dest, destlen, prefix, buf2);
@@ -342,7 +342,7 @@ hdr_format_str (char *dest,
/* preprocess $date_format to handle %Z */
{
const char *cp;
- struct tm *tm;
+ struct tm *tm;
time_t T;
p = dest;
@@ -358,7 +358,7 @@ hdr_format_str (char *dest,
len = destlen - 1;
while (len > 0 && (((op == 'd' || op == 'D') && *cp) ||
- (op == '{' && *cp != '}') ||
+ (op == '{' && *cp != '}') ||
(op == '[' && *cp != ']') ||
(op == '(' && *cp != ')') ||
(op == '<' && *cp != '>')))
@@ -662,7 +662,7 @@ hdr_format_str (char *dest,
break;
case 'v':
- if (mutt_addr_is_user (hdr->env->from))
+ if (mutt_addr_is_user (hdr->env->from))
{
if (hdr->env->to)
mutt_format_s (buf2, sizeof (buf2), prefix, mutt_get_name (hdr->env->to));
@@ -679,7 +679,7 @@ hdr_format_str (char *dest,
break;
case 'Z':
-
+
ch = ' ';
if (WithCrypto && hdr->security & GOODSIGN)
@@ -722,7 +722,7 @@ hdr_format_str (char *dest,
mutt_format_s (dest, destlen, prefix, NONULL (hdr->env->x_label));
break;
-
+
case 'Y':
if (hdr->env->x_label)
{