This should have been trunk only, I guess. oh well ... it's harmless.
authorRussell Bryant <russell@russellbryant.com>
Mon, 27 Aug 2007 17:44:24 +0000 (17:44 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 27 Aug 2007 17:44:24 +0000 (17:44 +0000)
Merged revisions 81065 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81065 | russell | 2007-08-27 11:38:33 -0500 (Mon, 27 Aug 2007) | 1 line

explicity define a variable as a boolean
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81098 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_dundi.c

index f012a26..e165104 100644 (file)
@@ -259,7 +259,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 */