From owner-p4-projects Fri May 24 6: 5:14 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3569A37B40C; Fri, 24 May 2002 06:05:10 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6099237B408 for ; Fri, 24 May 2002 06:05:09 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4OD59U83298 for perforce@freebsd.org; Fri, 24 May 2002 06:05:09 -0700 (PDT) (envelope-from des@freebsd.org) Date: Fri, 24 May 2002 06:05:09 -0700 (PDT) Message-Id: <200205241305.g4OD59U83298@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to des@freebsd.org using -f From: Dag-Erling Smorgrav Subject: PERFORCE change 11834 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11834 Change 11834 by des@des.at.des.thinksec.com on 2002/05/24 06:04:27 Conditionalize debugging messages in !STDC, !GNUC case. Affected files ... ... //depot/projects/openpam/lib/openpam_log.c#14 edit Differences ... ==== //depot/projects/openpam/lib/openpam_log.c#14 (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#13 $ + * $P4: //depot/projects/openpam/lib/openpam_log.c#14 $ */ #include @@ -106,6 +106,9 @@ switch (level) { case PAM_LOG_DEBUG: +#ifndef DEBUG + return; +#endif priority = LOG_DEBUG; break; case PAM_LOG_VERBOSE: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message