mirror of
https://git.sr.ht/~cismonx/bookmarkfs
synced 2025-07-21 08:38:51 +00:00
backend_firefox: fix directory attr update
This commit is contained in:
parent
5082e7c67c
commit
fdfd6fe069
1 changed files with 3 additions and 3 deletions
|
@ -3849,14 +3849,14 @@ bookmark_set (
|
||||||
if (status < 0) {
|
if (status < 0) {
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
if (xattr_id >= MOZBM_XATTR_START) {
|
||||||
|
goto end;
|
||||||
|
}
|
||||||
if (bm_cols.place_id == 0) {
|
if (bm_cols.place_id == 0) {
|
||||||
// Attempting to update moz_places fields on a directory.
|
// Attempting to update moz_places fields on a directory.
|
||||||
status = -EPERM;
|
status = -EPERM;
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
if (xattr_id >= MOZBM_XATTR_START) {
|
|
||||||
goto end;
|
|
||||||
}
|
|
||||||
|
|
||||||
place_cols.id = bm_cols.place_id;
|
place_cols.id = bm_cols.place_id;
|
||||||
status = mozplace_update(ctx, &place_cols);
|
status = mozplace_update(ctx, &place_cols);
|
||||||
|
|
Loading…
Add table
Reference in a new issue