]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
explicity define a variable as a boolean
authorRussell Bryant <russell@russellbryant.com>
Mon, 27 Aug 2007 16:38:33 +0000 (16:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 27 Aug 2007 16:38:33 +0000 (16:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@81065 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_dundi.c

index 880dc70f20f2eb992b1c21d505d2e35fadf8f0e2..09b93e84459b2b88a90da4fdf0e80553e84c2b08 100644 (file)
@@ -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 */