Changeset 125 in openpam for trunk


Ignore:
Timestamp:
Apr 15, 2002, 8:28:43 AM (18 years ago)
Author:
Dag-Erling Smørgrav
Message:

Don't copy log messages to stderr, even #ifdef DEBUG.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_log.c

    r95 r125  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/openpam_log.c#12 $
     34 * $P4: //depot/projects/openpam/lib/openpam_log.c#13 $
    3535 */
    3636
     
    8484                sprintf(format, "in %s(): %.*s\n", func, len, fmt);
    8585                vsyslog(priority, format, ap);
    86 #ifdef DEBUG
    87                 vfprintf(stderr, format, ap);
    88 #endif
    8986                free(format);
    9087        } else {
Note: See TracChangeset for help on using the changeset viewer.