cleanup: Big pile of whitespace fixes, all at once.
[u/mdw/catacomb] / cc-enc.c
index 17c0a56..c7354e6 100644 (file)
--- a/cc-enc.c
+++ b/cc-enc.c
@@ -7,7 +7,7 @@
  * (c) 2004 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of Catacomb.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * Catacomb 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 Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with Catacomb; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -55,7 +55,7 @@ static enc *bin_decinit(FILE *fp, encbdryp *func, void *p)
 static int bin_read(enc *e, void *p, size_t sz)
 {
   size_t n;
-  
+
   if (!sz) return (0);
   n = fread(p, 1, sz, e->fp);
   if (!n || ferror(e->fp)) return (-1);
@@ -279,7 +279,7 @@ const encops enctab[] = {
     pem_encdone, pem_decdone,
     pem_destroy },
   { 0 }
-};  
+};
 
 /* --- @getenc@ --- *
  *
@@ -319,7 +319,7 @@ enc *initenc(const encops *eo, FILE *fp, const char *msg)
   enc *e = eo->initenc(fp, msg);
   e->ops = eo;
   e->fp = fp;
-  return (e);  
+  return (e);
 }
 
 /* --- @initdec@ --- *
@@ -374,9 +374,9 @@ int cmd_encode(int argc, char *argv[])
 
   for (;;) {
     static const struct option opt[] = {
-      { "format",      OPTF_ARGREQ,    0,      'f' },
-      { "boundary",    OPTF_ARGREQ,    0,      'b' },
-      { "output",      OPTF_ARGREQ,    0,      'o' },
+      { "format",      OPTF_ARGREQ,    0,      'f' },
+      { "boundary",    OPTF_ARGREQ,    0,      'b' },
+      { "output",      OPTF_ARGREQ,    0,      'o' },
       { 0,             0,              0,      0 }
     };
     i = mdwopt(argc, argv, "f:b:o:", opt, 0, 0, 0);
@@ -443,9 +443,9 @@ int cmd_decode(int argc, char *argv[])
 
   for (;;) {
     static const struct option opt[] = {
-      { "format",      OPTF_ARGREQ,    0,      'f' },
-      { "boundary",    OPTF_ARGREQ,    0,      'b' },
-      { "output",      OPTF_ARGREQ,    0,      'o' },
+      { "format",      OPTF_ARGREQ,    0,      'f' },
+      { "boundary",    OPTF_ARGREQ,    0,      'b' },
+      { "output",      OPTF_ARGREQ,    0,      'o' },
       { 0,             0,              0,      0 }
     };
     i = mdwopt(argc, argv, "f:b:o:", opt, 0, 0, 0);