ssb: Actually fall back to this default global setting value.

This commit is contained in:
Cory McWilliams 2025-01-05 15:17:41 -05:00
parent 23db09f9b7
commit 3f27af30b7

View File

@ -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)