Changeset 35 in openpam for trunk/lib/openpam_load.c


Ignore:
Timestamp:
Feb 6, 2002, 1:25:36 PM (19 years ago)
Author:
Dag-Erling Smørgrav
Message:

According to bde, it's OK to omit parentheses when taking the size
of an object rather than a type.

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_load.c

    r34 r35  
    185185        pam_chain_t *new, *iterator;
    186186
    187         if ((new = calloc(1, sizeof(*new))) == NULL)
     187        if ((new = calloc(1, sizeof *new)) == NULL)
    188188                goto buf_err;
    189189        if ((new->optv = malloc(sizeof(char *) * (optc + 1))) == NULL)
Note: See TracChangeset for help on using the changeset viewer.