The code to read the logger_subsys config entries is missing an
object_find_reset() call. So if a previous caller has been iterating in the logger object, mainconfig will not find any logger_subsys entries.

The attached patch fixes the problem in trunk.

Chrissie
Index: trunk/exec/mainconfig.c
===================================================================
--- trunk/exec/mainconfig.c	(revision 1572)
+++ trunk/exec/mainconfig.c	(working copy)
@@ -187,6 +187,7 @@
 			}
 		}
 
+		objdb->object_find_reset(object_service_handle);
 		while (objdb->object_find (object_service_handle,
 			"logger_subsys",
 			strlen ("logger_subsys"),
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to