Changeset 932 in openpam for trunk/lib/libpam/openpam_set_feature.c


Ignore:
Timestamp:
Apr 26, 2017, 8:41:59 PM (4 years ago)
Author:
Dag-Erling Smørgrav
Message:

Add two more error codes for situations where we used PAM_SYMBOL_ERR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/libpam/openpam_set_feature.c

    r648 r932  
    5151        ENTERF(feature);
    5252        if (feature < 0 || feature >= OPENPAM_NUM_FEATURES)
    53                 RETURNC(PAM_SYMBOL_ERR);
     53                RETURNC(PAM_BAD_FEATURE);
    5454        openpam_features[feature].onoff = onoff;
    5555        RETURNC(PAM_SUCCESS);
     
    5959 * Error codes:
    6060 *
    61  *      PAM_SYMBOL_ERR
     61 *      PAM_BAD_FEATURE
    6262 */
    6363
Note: See TracChangeset for help on using the changeset viewer.