aboutsummaryrefslogtreecommitdiffstats
path: root/src/gnutls_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnutls_config.c')
-rw-r--r--src/gnutls_config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gnutls_config.c b/src/gnutls_config.c
index 4bb523f..ff8ec33 100644
--- a/src/gnutls_config.c
+++ b/src/gnutls_config.c
@@ -348,8 +348,8 @@ const char *mgs_set_cache(cmd_parms * parms, void *dummy,
348 } else if (strcasecmp("dbm", type) == 0) { 348 } else if (strcasecmp("dbm", type) == 0) {
349 sc->cache_type = mgs_cache_dbm; 349 sc->cache_type = mgs_cache_dbm;
350 } 350 }
351 else if (strcasecmp("sdbm", type) == 0) { 351 else if (strcasecmp("gdbm", type) == 0) {
352 sc->cache_type = mgs_cache_sdbm; 352 sc->cache_type = mgs_cache_gdbm;
353 } 353 }
354#if HAVE_APR_MEMCACHE 354#if HAVE_APR_MEMCACHE
355 else if (strcasecmp("memcache", type) == 0) { 355 else if (strcasecmp("memcache", type) == 0) {
@@ -360,7 +360,7 @@ const char *mgs_set_cache(cmd_parms * parms, void *dummy,
360 return "Invalid Type for GnuTLSCache!"; 360 return "Invalid Type for GnuTLSCache!";
361 } 361 }
362 362
363 if (sc->cache_type == mgs_cache_dbm || sc->cache_type == mgs_cache_sdbm) { 363 if (sc->cache_type == mgs_cache_dbm || sc->cache_type == mgs_cache_gdbm) {
364 sc->cache_config = ap_server_root_relative(parms->pool, arg); 364 sc->cache_config = ap_server_root_relative(parms->pool, arg);
365 } else { 365 } else {
366 sc->cache_config = apr_pstrdup(parms->pool, arg); 366 sc->cache_config = apr_pstrdup(parms->pool, arg);