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


Ignore:
Timestamp:
Dec 12, 2002, 5:06:29 PM (13 years ago)
Author:
des
Message:

Instrument entry and exit points.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_get_item.c

    r164 r187  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/pam_get_item.c#13 $
     34 * $P4: //depot/projects/openpam/lib/pam_get_item.c#14 $
    3535 */
    3636
     
    5353        const void **item)
    5454{
     55
     56        ENTER();
    5557        if (pamh == NULL)
    56                 return (PAM_SYSTEM_ERR);
    57 
     58                RETURNC(PAM_SYSTEM_ERR);
    5859        switch (item_type) {
    5960        case PAM_SERVICE:
     
    7071        case PAM_REPOSITORY:
    7172                *item = pamh->item[item_type];
    72                 return (PAM_SUCCESS);
     73                RETURNC(PAM_SUCCESS);
    7374        default:
    74                 return (PAM_SYMBOL_ERR);
     75                RETURNC(PAM_SYMBOL_ERR);
    7576        }
    7677}
Note: See TracChangeset for help on using the changeset viewer.