diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-26 18:46:07 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-26 18:46:07 +0000 |
commit | e30599646ab2f1627cbbb8152352122772202388 (patch) | |
tree | f48af977c73d618d188c565061a92c29357d6bf7 /apps/app_followme.c | |
parent | b7a906c9c5368ca3e2c74dfd8d8da0ff5006e33f (diff) |
OpenBSD compat fix (reminded by mvanbaak on #asterisk-dev)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@140201 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_followme.c')
-rw-r--r-- | apps/app_followme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c index 7e9cd5657..0e23acbff 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -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; |