From 264aeeca70c61fae16f5cb03d07c919963ae30cf Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 27 Aug 2007 16:38:33 +0000 Subject: [PATCH] explicity define a variable as a boolean git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@81065 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx/pbx_dundi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index 880dc70f20..09b93e8445 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 */