[svn-commits] tilghman: trunk r140201 - /trunk/apps/app_followme.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Aug 26 13:46:08 CDT 2008


Author: tilghman
Date: Tue Aug 26 13:46:07 2008
New Revision: 140201

URL: http://svn.digium.com/view/asterisk?view=rev&rev=140201
Log:
OpenBSD compat fix (reminded by mvanbaak on #asterisk-dev)

Modified:
    trunk/apps/app_followme.c

Modified: trunk/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_followme.c?view=diff&rev=140201&r1=140200&r2=140201
==============================================================================
--- trunk/apps/app_followme.c (original)
+++ trunk/apps/app_followme.c Tue Aug 26 13:46:07 2008
@@ -889,7 +889,7 @@
 
 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 @@
 	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;




More information about the svn-commits mailing list