If the device for devicestate is not known, 'invalid' is not

the correct answer.
This commit is contained in:
MelwareDE 2007-10-22 08:59:54 +00:00
parent bdbc804322
commit 1bf477e35d
1 changed files with 1 additions and 1 deletions

View File

@ -4906,7 +4906,7 @@ static int pbx_capi_devicestate(void *data)
{
char *s;
char *target;
int res = AST_DEVICE_INVALID;
int res = AST_DEVICE_UNKNOWN;
struct capi_pvt *i;
if (!data) {