Fix persistence data file structure according to nep

This commit is contained in:
eeff
2022-01-20 18:41:03 +08:00
committed by Parker Liu
parent 366d4895f5
commit bbaae51fa5
+5
View File
@@ -549,6 +549,11 @@ static inline int persister_adapter_dir(char *buf, size_t size,
return n;
}
n = path_cat(buf, n, size, "adapters");
if (size == n) {
return n;
}
n = path_cat_escaped(buf, n, size, adapter_name);
return n;
}