Skip to content
Snippets Groups Projects
Commit 4de11317 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

OpenBSD compat fix (reminded by mvanbaak on #asterisk-dev)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@140201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 93ee81f9
No related branches found
No related tags found
No related merge requests found
......@@ -889,7 +889,7 @@ static void findmeexec(struct fm_args *tpargs)
static struct call_followme *find_realtime(const char *name)
{
struct ast_variable *var = ast_load_realtime("followme", "name", name, NULL), *v;
struct ast_variable *var = ast_load_realtime("followme", "name", name, SENTINEL), *v;
struct ast_config *cfg;
const char *catg;
struct call_followme *new;
......@@ -919,7 +919,7 @@ static struct call_followme *find_realtime(const char *name)
new->realtime = 1;
/* Load numbers */
if (!(cfg = ast_load_realtime_multientry("followme_numbers", "ordinal LIKE", "%", "name", name, NULL))) {
if (!(cfg = ast_load_realtime_multientry("followme_numbers", "ordinal LIKE", "%", "name", name, SENTINEL))) {
ast_mutex_destroy(&new->lock);
ast_free(new);
return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment