From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s9QIMpY2017891 for ; Sun, 26 Oct 2014 14:22:51 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id s9QIMpvm008602; Sun, 26 Oct 2014 14:22:51 -0400 (EDT) Date: Sun, 26 Oct 2014 14:22:51 -0400 (EDT) Message-Id: <201410261822.s9QIMpvm008602@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: KNF: indentation and sort variables by size; no functional X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- KNF: indentation and sort variables by size; no functional change Modified Files: -------------- mdocml: preconv.c Revision Data ------------- Index: preconv.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/preconv.c,v retrieving revision 1.9 retrieving revision 1.10 diff -Lpreconv.c -Lpreconv.c -u -p -r1.9 -r1.10 --- preconv.c +++ preconv.c @@ -27,11 +27,11 @@ int preconv_encode(struct buf *ib, struct buf *ob, int *filenc) { + size_t i; + const long one = 1L; int state, be; unsigned int accum; - size_t i; unsigned char cu; - const long one = 1L; if ( ! (*filenc & MPARSE_UTF8)) goto latin; @@ -158,8 +158,7 @@ preconv_cue(const struct buf *b) /* Check if we have the correct header/trailer. */ if ((sz = (size_t)(eoln - ln)) < 10 || - memcmp(ln, ".\\\" -*-", 7) || - memcmp(eoln - 3, "-*-", 3)) + memcmp(ln, ".\\\" -*-", 7) || memcmp(eoln - 3, "-*-", 3)) return(MPARSE_UTF8 | MPARSE_LATIN1); /* Move after the header and adjust for the trailer. */ -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv