Skip to content

Commit

Permalink
Clean up config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Collins committed May 23, 2023
1 parent c5c9e6e commit ae8b158
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mod_dims.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ dims_config_set_default_output_format(cmd_parms *cmd, void *dummy, const char *a
}

static const char *
dims_config_set_user_agent(cmd_parms *cmd, void *dummy, const char *arg)
dims_config_set_user_agent_override(cmd_parms *cmd, void *dummy, const char *arg)
{
dims_config_rec *config = (dims_config_rec *) ap_get_module_config(
cmd->server->module_config, &dims_module);
Expand Down Expand Up @@ -2172,11 +2172,11 @@ static const command_rec dims_commands[] =
"Default output format if 'format' command is not present in the request."),
AP_INIT_TAKE1("DimsUserAgentEnabled",
dims_config_set_user_agent_enabled, NULL, RSRC_CONF,
"Set DIMS User-Agent header, true OR false."
"Enable DIMS User-Agent header ('dims/<version>'), true OR false."
"The default is false."),
AP_INIT_TAKE1("DimsUserAgentOverride",
dims_config_set_user_agent, NULL, RSRC_CONF,
"Set a custom DIMS User-Agent header"
dims_config_set_user_agent_override, NULL, RSRC_CONF,
"Override DIMS User-Agent header"
"The default is 'dims/<version>."),
{NULL}
};
Expand Down

0 comments on commit ae8b158

Please sign in to comment.