summaryrefslogtreecommitdiff
path: root/main/config_options.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2013-02-15 18:44:24 +0000
committerMatthew Jordan <mjordan@digium.com>2013-02-15 18:44:24 +0000
commite123ee2d77280e784d237dfc55740e96493819b7 (patch)
treedb775cdd19ea48c980705d5c79a91cdc03e2d738 /main/config_options.c
parent71bce17720d92ec286a2e85cdbc74545c7a4339f (diff)
Disable strict XML documentation config checking; fix crash caused by sorcery
This patch does two things: 1. It disables (temporarily) strict XML documentation checking for module configurations. We should re-enable it before making any release from trunk. 2. Pass the module flag AST_MODULE through sorcery. This means several of the API calls are now macros and will do this automatically for you. The config framework needs the module that objects are registering to so it can properly construct the documentation. (This was already a required field, but sorcery was getting by without it) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@381567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/config_options.c')
-rw-r--r--main/config_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config_options.c b/main/config_options.c
index 7a65cc555..06b452131 100644
--- a/main/config_options.c
+++ b/main/config_options.c
@@ -894,7 +894,7 @@ static char *complete_config_option(const char *module, const char *option, cons
/* Define as 0 if we want to allow configurations to be registered without
* documentation
*/
-#define XMLDOC_STRICT 1
+#define XMLDOC_STRICT 0
/*! \internal
* \brief Update the XML documentation for a config type based on its registration