minor fixes
authorSuper User <root@isdn.jolly.ten>
Fri, 20 Jun 2008 06:27:26 +0000 (08:27 +0200)
committerSuper User <root@isdn.jolly.ten>
Fri, 20 Jun 2008 06:27:26 +0000 (08:27 +0200)
modified:   mISDN.h
modified:   route.c

mISDN.h
route.c

diff --git a/mISDN.h b/mISDN.h
index f03cb4f..8f0b98c 100644 (file)
--- a/mISDN.h
+++ b/mISDN.h
@@ -155,7 +155,7 @@ class PmISDN : public Port
        unsigned int p_m_timeout;               /* timeout of timers */
        time_t p_m_timer;                       /* start of timer */
        unsigned int p_m_remote_ref;            /* join to export bchannel to */
-       unsigned int p_m_remote_id;             /* sock to export bchannel to */
+       int p_m_remote_id;                      /* sock to export bchannel to */
 
        int seize_bchannel(int channel, int exclusive); /* requests / reserves / links bchannels, but does not open it! */
        void drop_bchannel(void);
diff --git a/route.c b/route.c
index 923d84f..743e37d 100644 (file)
--- a/route.c
+++ b/route.c
@@ -90,7 +90,7 @@ struct cond_defs cond_defs[] = {
          "notbusy=<extension>[,...]","Matches if any of the given extension is not busy."},
        { "remote",     MATCH_REMOTE,   COND_TYPE_STRING,
          "remote=<application name>","Matches if remote application is running."},
-       { "notremote",  MATCH_NOTREMOTE,COND_TYPE_NULL,
+       { "notremote",  MATCH_NOTREMOTE,COND_TYPE_STRING,
          "notremote=<application name>","Matches if remote application is not running."},
        { NULL, 0, 0, NULL}
 };