Date: Sun, 14 Apr 2002 23:29:28 -0700 (PDT) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 9758 for review Message-ID: <200204150629.g3F6TSG13328@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=9758 Change 9758 by des@des.at.des.thinksec.com on 2002/04/14 23:28:43 Don't copy log messages to stderr, even #ifdef DEBUG. Affected files ... ... //depot/projects/openpam/lib/openpam_log.c#13 edit Differences ... ==== //depot/projects/openpam/lib/openpam_log.c#13 (text+ko) ==== @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/lib/openpam_log.c#12 $ + * $P4: //depot/projects/openpam/lib/openpam_log.c#13 $ */ #include <ctype.h> @@ -83,9 +83,6 @@ if ((format = malloc(strlen(func) + len + 16)) != NULL) { sprintf(format, "in %s(): %.*s\n", func, len, fmt); vsyslog(priority, format, ap); -#ifdef DEBUG - vfprintf(stderr, format, ap); -#endif free(format); } else { vsyslog(priority, fmt, ap); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204150629.g3F6TSG13328>