diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 6c43768e2a..e24b6045b3 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1584,7 +1584,7 @@ static void *announce_thread(void *data) break; } - for (; !conf->announcethread_stop && (current = AST_LIST_REMOVE_HEAD(&local_list, entry)); ao2_ref(current, -1)) { + for (res = 1; !conf->announcethread_stop && (current = AST_LIST_REMOVE_HEAD(&local_list, entry)); ao2_ref(current, -1)) { ast_log(LOG_DEBUG, "About to play %s\n", current->namerecloc); if (!ast_fileexists(current->namerecloc, NULL, NULL)) continue;