Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/isdn/isdnd Show display if it is not empty.



details:   https://anonhg.NetBSD.org/src/rev/a35bd320dedf
branches:  trunk
changeset: 333718:a35bd320dedf
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Nov 15 02:09:18 2014 +0000

description:
Show display if it is not empty.

diffstat:

 usr.sbin/isdn/isdnd/msghdl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 73aa6649b193 -r a35bd320dedf usr.sbin/isdn/isdnd/msghdl.c
--- a/usr.sbin/isdn/isdnd/msghdl.c      Sat Nov 15 02:01:27 2014 +0000
+++ b/usr.sbin/isdn/isdnd/msghdl.c      Sat Nov 15 02:09:18 2014 +0000
@@ -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 @@
                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 @@
                }
                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);



Home | Main Index | Thread Index | Old Index