Changeset 19 in openpam for trunk/lib/pam_set_data.c


Ignore:
Timestamp:
Feb 2, 2002, 6:04:31 PM (19 years ago)
Author:
Dag-Erling Smørgrav
Message:

Use 'sizeof(foo)' instead of 'sizeof foo' even where it's not
required. Although style(9) doesn't say anything about it, this
seems to be the preferred form.

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_set_data.c

    r16 r19  
    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.