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)