Module Name:    src
Committed By:   martin
Date:           Wed Mar  2 19:03:31 UTC 2016

Modified Files:
        src/usr.sbin/isdn/isdnd: log.c

Log Message:
David Binderman in PR bin/50884: simplify boolean expression


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/isdn/isdnd/log.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/isdn/isdnd/log.c
diff -u src/usr.sbin/isdn/isdnd/log.c:1.8 src/usr.sbin/isdn/isdnd/log.c:1.9
--- src/usr.sbin/isdn/isdnd/log.c:1.8	Wed Aug 31 16:24:59 2011
+++ src/usr.sbin/isdn/isdnd/log.c	Wed Mar  2 19:03:31 2016
@@ -27,7 +27,7 @@
  *	i4b daemon - logging routines
  *	-----------------------------
  *
- *	$Id: log.c,v 1.8 2011/08/31 16:24:59 plunky Exp $ 
+ *	$Id: log.c,v 1.9 2016/03/02 19:03:31 martin Exp $ 
  *
  * $FreeBSD$
  *
@@ -162,7 +162,7 @@ logit(int what, const char *fmt, ...)
 	/* put log on screen ? */
 
 	if ((do_fullscreen && curses_ready) &&
-	   ((!debug_noscreen) || (debug_noscreen && (what != LL_DBG))))
+	   (!debug_noscreen || what != LL_DBG))
 	{
 		wprintw(lower_w, "%s %s %-.*s\n", dp, logtab[what].text,
 

Reply via email to