Module Name:    src
Committed By:   joerg
Date:           Sat Nov 15 02:09:18 UTC 2014

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

Log Message:
Show display if it is not empty.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/isdn/isdnd/msghdl.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/msghdl.c
diff -u src/usr.sbin/isdn/isdnd/msghdl.c:1.11 src/usr.sbin/isdn/isdnd/msghdl.c:1.12
--- src/usr.sbin/isdn/isdnd/msghdl.c:1.11	Thu Apr 16 05:56:32 2009
+++ src/usr.sbin/isdn/isdnd/msghdl.c	Sat Nov 15 02:09:18 2014
@@ -27,7 +27,7 @@
  *	i4b daemon - message from kernel handling routines
  *	--------------------------------------------------
  *
- *	$Id: msghdl.c,v 1.11 2009/04/16 05:56:32 lukem Exp $ 
+ *	$Id: msghdl.c,v 1.12 2014/11/15 02:09:18 joerg Exp $ 
  *
  * $FreeBSD$
  *
@@ -149,7 +149,7 @@ msg_connect_ind(msg_connect_ind_t *mp, i
 		decr_free_channels(find_ctrl_state(mp->controller));
 		if (cep->alert)
 		{
-			if (mp->display)
+			if (mp->display[0])
 			{
 				logit(LL_CHD, "%05d %s alerting: incoming call from %s to %s (%s)",
 					mp->header.cdid, cep->name, SRC, DST, mp->display);
@@ -163,7 +163,7 @@ msg_connect_ind(msg_connect_ind_t *mp, i
 		}
 		else
 		{
-			if (mp->display)
+			if (mp->display[0])
 			{				
 				logit(LL_CHD, "%05d %s answering: incoming call from %s to %s (%s)",
 					mp->header.cdid, cep->name, SRC, DST, mp->display);

Reply via email to