diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-01-17 16:33:24 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-01-17 16:33:24 +0000 |
commit | 3d022ccfec3aa172d90cd5ba8b92f409fcc5169c (patch) | |
tree | 1f8ffb9ac11998b2fd9b15f86db35d898fe91c95 /apps/app_queue.c | |
parent | 9c39ec55d8ec1911de2f7ff7c1994d5985f87ab8 (diff) |
state_interface could be NULL, so use the never-NULL cur->state_interface for this check
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index ed13c3d5b..a2db787a7 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -842,7 +842,7 @@ static struct member *create_queue_member(const char *interface, const char *mem ast_copy_string(cur->membername, interface, sizeof(cur->membername)); if (!strchr(cur->interface, '/')) ast_log(LOG_WARNING, "No location at interface '%s'\n", interface); - cur->status = ast_device_state(state_interface); + cur->status = ast_device_state(cur->state_interface); } return cur; |