Changeset 187 in openpam for trunk/lib/pam_get_data.c


Ignore:
Timestamp:
Dec 12, 2002, 5:06:29 PM (18 years ago)
Author:
Dag-Erling Smørgrav
Message:

Instrument entry and exit points.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_get_data.c

    r157 r187  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/pam_get_data.c#8 $
     34 * $P4: //depot/projects/openpam/lib/pam_get_data.c#9 $
    3535 */
    3636
     
    5555        pam_data_t *dp;
    5656
     57        ENTER();
    5758        if (pamh == NULL)
    58                 return (PAM_SYSTEM_ERR);
    59 
     59                RETURNC(PAM_SYSTEM_ERR);
    6060        for (dp = pamh->module_data; dp != NULL; dp = dp->next)
    6161                if (strcmp(dp->name, module_data_name) == 0) {
    6262                        *data = dp->data;
    63                         return (PAM_SUCCESS);
     63                        RETURNC(PAM_SUCCESS);
    6464                }
    65 
    66         return (PAM_NO_MODULE_DATA);
     65        RETURNC(PAM_NO_MODULE_DATA);
    6766}
    6867
Note: See TracChangeset for help on using the changeset viewer.