Print this page
10097 indenting fixes in usr/src/{lib,common}

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/pam_modules/authtok_check/packlib.c
          +++ new/usr/src/lib/pam_modules/authtok_check/packlib.c
   1    1  /*
   2    2   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   3    3   * Use is subject to license terms.
   4    4   */
   5    5  
   6    6  /*
        7 + * Copyright (c) 2018, Joyent, Inc.
        8 + */
        9 +
       10 +/*
   7   11   * This program is copyright Alec Muffett 1993. The author disclaims all
   8   12   * responsibility or liability with respect to it's usage or its effect
   9   13   * upon hardware or computer systems, and maintains copyright as set out
  10   14   * in the "LICENCE" document which accompanies distributions of Crack v4.0
  11   15   * and upwards.
  12   16   */
  13   17  
  14   18  #include "packer.h"
  15   19  
  16   20  void
↓ open down ↓ 199 lines elided ↑ open up ↑
 216  220                                      (ostr[j] == nstr[j]); j++)
 217  221                                          ;
 218  222                                  (void) putc(j & 0xff, pwp->dfp);
 219  223                                  (void) fputs(nstr + j, pwp->dfp);
 220  224                          }
 221  225                          (void) putc(0, pwp->dfp);
 222  226  
 223  227                          ostr = nstr;
 224  228                  }
 225  229  
 226      -        (void) memset(pwp->data, '\0', sizeof (pwp->data));
 227      -        pwp->count = 0;
      230 +                (void) memset(pwp->data, '\0', sizeof (pwp->data));
      231 +                pwp->count = 0;
 228  232          }
 229  233          return (0);
 230  234  }
 231  235  
 232  236  char *
 233  237  GetPW(PWDICT *pwp, uint32_t number)
 234  238  {
 235  239          uint32_t datum;
 236  240          register int i;
 237  241          register char *ostr;
↓ open down ↓ 100 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX