diff options
author | David Bremner <david@tethera.net> | 2019-06-12 19:47:20 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2019-06-14 07:41:27 -0300 |
commit | be8f0ba92a302798b21cf02ef73c4ad783b66cba (patch) | |
tree | 11a5ce8338b35f9e4f489ac14cf64a9b5b5d2b83 /mime-node.c | |
parent | bcfd3e7542b3a004caba16b723c6663c7fd4b015 (diff) |
CLI: replace some constructs with more uncrustify friendly ones
In particular
- use (bool) instead of !!
- cuddle the opening parens of function calls
- add parens in some ternery operators
Diffstat (limited to 'mime-node.c')
-rw-r--r-- | mime-node.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mime-node.c b/mime-node.c index a93cbb31..4ca51fe9 100644 --- a/mime-node.c +++ b/mime-node.c @@ -185,8 +185,8 @@ node_verify (mime_node_t *node, GMimeObject *part) notmuch_status_t status; node->verify_attempted = true; - node->sig_list = g_mime_multipart_signed_verify - (GMIME_MULTIPART_SIGNED (part), GMIME_ENCRYPT_NONE, &err); + node->sig_list = g_mime_multipart_signed_verify ( + GMIME_MULTIPART_SIGNED (part), GMIME_ENCRYPT_NONE, &err); if (node->sig_list) set_signature_list_destructor (node); @@ -342,8 +342,8 @@ mime_node_child (mime_node_t *parent, int child) if (child == GMIME_MULTIPART_ENCRYPTED_CONTENT && parent->decrypted_child) sub = parent->decrypted_child; else - sub = g_mime_multipart_get_part - (GMIME_MULTIPART (parent->part), child); + sub = g_mime_multipart_get_part ( + GMIME_MULTIPART (parent->part), child); } else if (GMIME_IS_MESSAGE (parent->part)) { sub = g_mime_message_get_mime_part (GMIME_MESSAGE (parent->part)); } else { |