Changeset 35 in openpam for trunk/lib/pam_start.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/pam_start.c

    r25 r35  
    6363        int r;
    6464
    65         if ((ph = calloc(1, sizeof(*ph))) == NULL)
     65        if ((ph = calloc(1, sizeof *ph)) == NULL)
    6666                return (PAM_BUF_ERR);
    6767        if ((r = pam_set_item(ph, PAM_SERVICE, service)) != PAM_SUCCESS)
Note: See TracChangeset for help on using the changeset viewer.