Changeset 187 in openpam for trunk/lib/pam_vprompt.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_vprompt.c

    r157 r187  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/pam_vprompt.c#7 $
     34 * $P4: //depot/projects/openpam/lib/pam_vprompt.c#8 $
    3535 */
    3636
     
    4040
    4141#include <security/pam_appl.h>
    42 #include <security/openpam.h>
     42
     43#include "openpam_impl.h"
    4344
    4445/*
     
    6263        int r;
    6364
     65        ENTER();
    6466        r = pam_get_item(pamh, PAM_CONV, (const void **)&conv);
    6567        if (r != PAM_SUCCESS)
    66                 return (r);
     68                RETURNC(r);
    6769        if (conv == NULL) {
    6870                openpam_log(PAM_LOG_ERROR, "no conversation function");
    69                 return (PAM_SYSTEM_ERR);
     71                RETURNC(PAM_SYSTEM_ERR);
    7072        }
    7173        vsnprintf(msgbuf, PAM_MAX_MSG_SIZE, fmt, ap);
     
    7779        *resp = rsp == NULL ? NULL : rsp->resp;
    7880        free(rsp);
    79         return (r);
     81        RETURNC(r);
    8082}
    8183
Note: See TracChangeset for help on using the changeset viewer.