error functions don't recurse to subsections

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

error functions don't recurse to subsections

Pillet Benjamin
I have a configuration with multiple subsections and of varying depths.  After calling cfg_init to get the cfg_t* of the root section, I called cfg_set_error_function with my custom error function.  Errors in subsections continued to use the default error function.  Am I doing something wrong or do error functions not get set recursively?
 
Thanks,
-Ben

[None] made the following annotations
---------------------------------------------------------------------
CONFIDENTIALITY. This electronic mail and any files transmitted with it may contain information proprietary to NavCom Technology, Inc., or one of its affiliates, and are intended solely for the use of the individual or entity to whom they are addressed, shall be maintained in confidence and not disclosed to third parties without the written consent of the sender. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail. ---------------------------------------------------------------------


_______________________________________________
Confuse-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/confuse-devel