[asterisk-commits] eliel: branch group/data_api_gsoc2009 r210556 - /team/group/data_api_gsoc2009...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 5 10:32:22 CDT 2009


Author: eliel
Date: Wed Aug  5 10:32:19 2009
New Revision: 210556

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=210556
Log:
Fix an issue with the filtering path to make it similar to the
search path.

Modified:
    team/group/data_api_gsoc2009/main/data.c

Modified: team/group/data_api_gsoc2009/main/data.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/data_api_gsoc2009/main/data.c?view=diff&rev=210556&r1=210555&r2=210556
==============================================================================
--- team/group/data_api_gsoc2009/main/data.c (original)
+++ team/group/data_api_gsoc2009/main/data.c Wed Aug  5 10:32:19 2009
@@ -1664,7 +1664,10 @@
 
 	/* if this is a terminal node, just run the callback function. */
 	if (root_provider->handler && root_provider->handler->get) {
-		node->filter = filter;
+		if (filter) {
+			filter_child = data_filter_find(filter->children, node->name);
+		}
+		node->filter = filter_child;
 		root_provider->handler->get(search, node);
 		ast_module_unref(root_provider->module);
 		return node;




More information about the asterisk-commits mailing list