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

    r19 r35  
    7272        }
    7373
    74         if ((dp = malloc(sizeof(*dp))) == NULL)
     74        if ((dp = malloc(sizeof *dp)) == NULL)
    7575                return (PAM_BUF_ERR);
    7676        if ((dp->name = strdup(module_data_name)) == NULL) {
Note: See TracChangeset for help on using the changeset viewer.