diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_queue.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 85dc4fcd6..3dc8c943c 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -5489,6 +5489,11 @@ static int reload_queues(int reload) struct member tmpmem; membername = NULL; + if (ast_strlen_zero(var->value)) { + ast_log(LOG_WARNING, "Empty queue member definition at line %d. Moving on!\n", var->lineno); + continue; + } + /* Add a new member */ ast_copy_string(parse, var->value, sizeof(parse)); |