aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-27 16:38:33 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-27 16:38:33 +0000
commit02eaafdc0b450523dc304a3a0268f9739be9ce19 (patch)
treefd6297f153c322175012465b0bbbd5452979ae6d /pbx
parent8b54d69657a6d79760704703482980e559adffcc (diff)
explicity define a variable as a boolean
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@81065 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_dundi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 880dc70f2..09b93e844 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -253,7 +253,8 @@ struct dundi_peer {
struct dundi_transaction *qualtrans; /*!< Qualify transaction */
int model; /*!< Pull model */
int pcmodel; /*!< Push/precache model */
- int dynamic; /*!< Are we dynamic? */
+ /*! Dynamic peers register with us */
+ unsigned int dynamic:1;
int lastms; /*!< Last measured latency */
int maxms; /*!< Max permissible latency */
struct timeval qualtx; /*!< Time of transmit */