aboutsummaryrefslogtreecommitdiffstats
path: root/src/db.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-05-24 12:21:33 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-05-24 12:21:33 +0200
commit395cd2eb66909c4396cdd7a3ae2ad8e4c5ec6ee8 (patch)
tree679d9b77ddf7b5b77163a901b7eacd4b4e7edf44 /src/db.c
parentc715090f1faaa2ec53ee84895d61c7f72fcd4772 (diff)
Add cacheid
The idea is to allow a client to disconnect and reconnect without losing its cache. Change-Id: I017176e5eb5f553b961a32ee466d1b7a175532bb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/db.c')
-rw-r--r--src/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index e6eb3d1..aebead2 100644
--- a/src/db.c
+++ b/src/db.c
@@ -55,7 +55,7 @@ db_open(
rc = memdb_create(&memdb);
if (!rc) {
- rc = filedb_create(&filedb, directory, "CYNARA");
+ rc = filedb_create(&filedb, directory, NULL);
if (rc)
anydb_destroy(memdb);
}