summaryrefslogtreecommitdiffstats
path: root/crypt.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2019-01-04 18:45:01 -0800
committerKevin McCarthy <kevin@8t8.us>2019-01-04 19:50:16 -0800
commitefa3afb539b9672ebd6e64cb0c16b98c5f6b8a60 (patch)
tree8fd166307801d97c801d6a2e75f255d6b0ba0f48 /crypt.c
parent248c2ee8ed7c0ff333ae076041107210c5acd641 (diff)
Clean up formatting.
Add spaces after if, else, while, for, switch. Unify the brace placement style. The vast majority of the code uses Allman style so convert the relatively few K&R braces over.
Diffstat (limited to 'crypt.c')
-rw-r--r--crypt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypt.c b/crypt.c
index cc951940..98998280 100644
--- a/crypt.c
+++ b/crypt.c
@@ -441,7 +441,7 @@ int mutt_is_application_pgp (BODY *m)
!ascii_strcasecmp (p, "keys-only"))
t |= PGPKEY;
- if(!t) t |= PGPENCRYPT; /* not necessarily correct, but... */
+ if (!t) t |= PGPENCRYPT; /* not necessarily correct, but... */
}
if (!ascii_strcasecmp (m->subtype, "pgp-signed"))
@@ -473,7 +473,7 @@ int mutt_is_application_smime (BODY *m)
char *t=NULL;
int len, complain=0;
- if(!m)
+ if (!m)
return 0;
if ((m->type & TYPEAPPLICATION) && m->subtype)
@@ -665,7 +665,7 @@ void convert_to_7bit (BODY *a)
else if (a->type == TYPEMESSAGE &&
ascii_strcasecmp(a->subtype, "delivery-status"))
{
- if(a->encoding != ENC7BIT)
+ if (a->encoding != ENC7BIT)
mutt_message_to_7bit (a, NULL);
}
else if (a->encoding == ENC8BIT)
@@ -913,7 +913,7 @@ static void crypt_fetch_signatures (BODY ***signatures, BODY *a, int *n)
crypt_fetch_signatures (signatures, a->parts, n);
else
{
- if((*n % 5) == 0)
+ if ((*n % 5) == 0)
safe_realloc (signatures, (*n + 6) * sizeof (BODY **));
(*signatures)[(*n)++] = a;