Compatibility with 1.4

This commit is contained in:
MelwareDE 2010-11-22 14:19:14 +00:00
parent e0484c4db5
commit 29581c9637
1 changed files with 4 additions and 0 deletions

View File

@ -82,7 +82,11 @@ int
pbx_capi_chat_room_state(const char *data)
{
const struct capichat_s *room;
#ifdef CC_AST_HAS_VERSION_1_6
enum ast_device_state ret = AST_DEVICE_NOT_INUSE;
#else
int ret = AST_DEVICE_NOT_INUSE;
#endif
if (data == 0)
return AST_DEVICE_INVALID;