summaryrefslogtreecommitdiff
path: root/src/config/config_collapse.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-10-16 18:12:57 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-10-16 18:12:57 +1100
commit77fc19801a20d39316a5506e9896e7a8fc5bd06b (patch)
tree3f1117fdafc805989bcc31828c3377a06094f063 /src/config/config_collapse.c
parent0451d297b99e080f7954bc6308245211d1ad0dfe (diff)
downloadmongo-77fc19801a20d39316a5506e9896e7a8fc5bd06b.tar.gz
Don't use const for strings returned in allocated memory.
Diffstat (limited to 'src/config/config_collapse.c')
-rw-r--r--src/config/config_collapse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/config_collapse.c b/src/config/config_collapse.c
index 3e4c539cbe9..b914b485a46 100644
--- a/src/config/config_collapse.c
+++ b/src/config/config_collapse.c
@@ -30,7 +30,7 @@
*/
int
__wt_config_collapse(
- WT_SESSION_IMPL *session, const char **cfg, const char **config_ret)
+ WT_SESSION_IMPL *session, const char **cfg, char **config_ret)
{
WT_CONFIG cparser;
WT_CONFIG_ITEM k, v;