From 3f27af30b71ce45a21dad5607c4efe4f321828b8 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sun, 5 Jan 2025 15:17:41 -0500 Subject: [PATCH] ssb: Actually fall back to this default global setting value. --- src/ssb.db.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ssb.db.c b/src/ssb.db.c index 9660e937..b65482fc 100644 --- a/src/ssb.db.c +++ b/src/ssb.db.c @@ -1902,6 +1902,12 @@ static void _tf_ssb_db_resolve_index_work(tf_ssb_t* ssb, void* user_data) } } tf_ssb_release_db_reader(ssb, db); + + if (!request->path) + { + /* From default global settings. */ + request->path = tf_strdup("/~core/ssb/"); + } } static void _tf_ssb_db_resolve_index_after_work(tf_ssb_t* ssb, int status, void* user_data)