]> granicus.if.org Git - neomutt/commitdiff
clang-format
authorRichard Russon <rich@flatcap.org>
Thu, 4 Oct 2018 14:20:09 +0000 (15:20 +0100)
committerRichard Russon <rich@flatcap.org>
Thu, 4 Oct 2018 14:20:09 +0000 (15:20 +0100)
conn/sasl.c
hdrline.c

index e241d9bcb0b5660120a96393a19afa676bdb3599..ea188d302fe4b67985cbbc8a702cba73102c6d29 100644 (file)
@@ -377,9 +377,8 @@ static int mutt_sasl_conn_read(struct Connection *conn, char *buf, size_t count)
   /* if we still have data in our read buffer, copy it into buf */
   if (sasldata->blen > sasldata->bpos)
   {
-    olen = (sasldata->blen - sasldata->bpos > count) ?
-               count :
-               sasldata->blen - sasldata->bpos;
+    olen = (sasldata->blen - sasldata->bpos > count) ? count :
+                                                       sasldata->blen - sasldata->bpos;
 
     memcpy(buf, sasldata->buf + sasldata->bpos, olen);
     sasldata->bpos += olen;
@@ -410,9 +409,8 @@ static int mutt_sasl_conn_read(struct Connection *conn, char *buf, size_t count)
       }
     } while (sasldata->blen == 0);
 
-    olen = (sasldata->blen - sasldata->bpos > count) ?
-               count :
-               sasldata->blen - sasldata->bpos;
+    olen = (sasldata->blen - sasldata->bpos > count) ? count :
+                                                       sasldata->blen - sasldata->bpos;
 
     memcpy(buf, sasldata->buf, olen);
     sasldata->bpos += olen;
index d4782e173d6e699a8135b7203bf213052cfcd40a..ba167dcd5dd2d315f0ade9cdb5a407131969b4af 100644 (file)
--- a/hdrline.c
+++ b/hdrline.c
@@ -272,6 +272,7 @@ static const char *make_from_prefix(enum FieldType disp)
  * @param buf      Buffer to store the result
  * @param buflen   Size of the buffer
  * @param do_lists Should we check for mailing lists?
+ * @param flags    Format flags, e.g. #MUTT_FORMAT_PLAIN
  *
  * Generate the %F or %L field in $index_format.
  * This is the author, or recipient of the email.