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

    r157 r187  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/openpam_findenv.c#8 $
     34 * $P4: //depot/projects/openpam/lib/openpam_findenv.c#9 $
    3535 */
    3636
     
    5454        int i;
    5555
     56        ENTER();
    5657        if (pamh == NULL)
    57                 return (-1);
    58 
     58                RETURNI(-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                         return (i);
    63         return (-1);
     62                        RETURNI(i);
     63        RETURNI(-1);
    6464}
    6565
Note: See TracChangeset for help on using the changeset viewer.