ast_exists_extension() does not return an ast_device_state, so change this
authorRussell Bryant <russell@russellbryant.com>
Sun, 8 Jul 2007 13:22:30 +0000 (13:22 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 8 Jul 2007 13:22:30 +0000 (13:22 +0000)
commitcf6ee48b5b27d8a6e8beb7c729639318bd2c3b47
tree8c842960d32e8f8bc0d0f9b755a3fd7eacfc4e39
parent74e8ab14fc7e5978327720e539b73dd89fc40d43
ast_exists_extension() does not return an ast_device_state, so change this
function to explicitly check for the int return value.  Also, make a few
other minor changes such as removing a variable.

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