Changeset 122 in openpam


Ignore:
Timestamp:
Apr 15, 2002, 2:31:56 AM (16 years ago)
Author:
Dag-Erling Smørgrav
Message:

Fix highly embarassing typo. This makes a good argument for using
verbose variable names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_get_authtok.c

    r105 r122  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/pam_get_authtok.c#15 $
     34 * $P4: //depot/projects/openpam/lib/pam_get_authtok.c#16 $
    3535 */
    3636
     
    121121        if (resp == NULL)
    122122                return (PAM_TRY_AGAIN);
    123         r = pam_set_item(pamh, pitem, resp);
     123        r = pam_set_item(pamh, item, resp);
    124124        free(resp);
    125125        if (r != PAM_SUCCESS)
    126126                return (r);
    127         return (pam_get_item(pamh, pitem, (const void **)authtok));
     127        return (pam_get_item(pamh, item, (const void **)authtok));
    128128}
    129129
Note: See TracChangeset for help on using the changeset viewer.