diff --git a/src/backend_firefox.c b/src/backend_firefox.c index dad52dd..c975cba 100644 --- a/src/backend_firefox.c +++ b/src/backend_firefox.c @@ -3849,14 +3849,14 @@ bookmark_set ( if (status < 0) { goto fail; } + if (xattr_id >= MOZBM_XATTR_START) { + goto end; + } if (bm_cols.place_id == 0) { // Attempting to update moz_places fields on a directory. status = -EPERM; goto fail; } - if (xattr_id >= MOZBM_XATTR_START) { - goto end; - } place_cols.id = bm_cols.place_id; status = mozplace_update(ctx, &place_cols);