aboutsummaryrefslogtreecommitdiff
path: root/src/datacache/datacache_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datacache/datacache_api.c')
-rw-r--r--src/datacache/datacache_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/datacache_api.c b/src/datacache/datacache_api.c
index 0958c1d2c5..421acac0ff 100644
--- a/src/datacache/datacache_api.c
+++ b/src/datacache/datacache_api.c
@@ -47,7 +47,7 @@ struct GNUNET_DATACACHE_Handle
/**
* Our configuration.
*/
- struct GNUNET_CONFIGURATION_Handle *cfg;
+ const struct GNUNET_CONFIGURATION_Handle *cfg;
/**
* Configuration section to use.
@@ -118,7 +118,7 @@ env_delete_notify (void *cls,
*/
struct GNUNET_DATACACHE_Handle *
GNUNET_DATACACHE_create (struct GNUNET_SCHEDULER_Handle *sched,
- struct GNUNET_CONFIGURATION_Handle *cfg,
+ const struct GNUNET_CONFIGURATION_Handle *cfg,
const char *section)
{
int fd;