summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-08-26 18:46:07 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-08-26 18:46:07 +0000
commit4de113179dd6a403f68f084f30d265ad594be11a (patch)
treef48af977c73d618d188c565061a92c29357d6bf7 /apps
parent93ee81f9f897341d9221d058e9fd97dd1313cac4 (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/app_followme.c4
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;