Changeset 200 in openpam for trunk/lib/openpam_findenv.c


Ignore:
Timestamp:
Feb 2, 2003, 1:10:00 PM (18 years ago)
Author:
Dag-Erling Smørgrav
Message:

More debugging macros: ENTERI() (item type), ENTERN() (int),
ENTERS() (string). Rename RETURNI() to RETURNN() for consistency.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_findenv.c

    r187 r200  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/openpam_findenv.c#9 $
     34 * $P4: //depot/projects/openpam/lib/openpam_findenv.c#10 $
    3535 */
    3636
     
    5656        ENTER();
    5757        if (pamh == NULL)
    58                 RETURNI(-1);
     58                RETURNN(-1);
    5959        for (i = 0; i < pamh->env_count; ++i)
    6060                if (strncmp(pamh->env[i], name, len) == 0 &&
    6161                    pamh->env[i][len] == '=')
    62                         RETURNI(i);
    63         RETURNI(-1);
     62                        RETURNN(i);
     63        RETURNN(-1);
    6464}
    6565
Note: See TracChangeset for help on using the changeset viewer.