Changeset 193 in openpam


Ignore:
Timestamp:
Jan 3, 2003, 3:47:06 AM (12 years ago)
Author:
des
Message:

Use RETURNP() rather than RETURNC().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_getenv.c

    r187 r193  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/pam_getenv.c#8 $
     34 * $P4: //depot/projects/openpam/lib/pam_getenv.c#9 $
    3535 */
    3636
     
    5757        ENTER();
    5858        if (pamh == NULL)
    59                 RETURNC(NULL);
     59                RETURNP(NULL);
    6060        if (name == NULL || strchr(name, '=') != NULL)
    61                 RETURNC(NULL);
     61                RETURNP(NULL);
    6262        if ((i = openpam_findenv(pamh, name, strlen(name))) == -1)
    63                 RETURNC(NULL);
    64         RETURNC(strdup(pamh->env[i]));
     63                RETURNP(NULL);
     64        RETURNP(strdup(pamh->env[i]));
    6565}
    6666
Note: See TracChangeset for help on using the changeset viewer.