From: Super User Date: Fri, 20 Jun 2008 06:27:26 +0000 (+0200) Subject: minor fixes X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=commitdiff_plain;h=e602f7bfbdf28bd72d89af6ffa4e6f7dad02ff03 minor fixes modified: mISDN.h modified: route.c --- diff --git a/mISDN.h b/mISDN.h index f03cb4f..8f0b98c 100644 --- 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 --- a/route.c +++ b/route.c @@ -90,7 +90,7 @@ struct cond_defs cond_defs[] = { "notbusy=[,...]","Matches if any of the given extension is not busy."}, { "remote", MATCH_REMOTE, COND_TYPE_STRING, "remote=","Matches if remote application is running."}, - { "notremote", MATCH_NOTREMOTE,COND_TYPE_NULL, + { "notremote", MATCH_NOTREMOTE,COND_TYPE_STRING, "notremote=","Matches if remote application is not running."}, { NULL, 0, 0, NULL} };