text diff ordered by user

This commit is contained in:
Olof hagsand 2024-01-24 09:36:20 +01:00
parent 2fcf3a9cf2
commit 2c2398d23e

View file

@ -727,7 +727,7 @@ text_diff2cbuf(cbuf *cb,
eq = xml_cmp(x0c, x1c, 0, 0, NULL); eq = xml_cmp(x0c, x1c, 0, 0, NULL);
yc0 = xml_spec(x0c); yc0 = xml_spec(x0c);
yc1 = xml_spec(x1c); yc1 = xml_spec(x1c);
if (eq && yc0 && yc1 && yang_find(yc0, Y_ORDERED_BY, "user")){ if (eq && yc0 && yc1 && yc0 == yc1 && yang_find(yc0, Y_ORDERED_BY, "user")){
if (text_diff2cbuf_ordered_by_user(cb, x0, x1, x0c, x1c, yc0, if (text_diff2cbuf_ordered_by_user(cb, x0, x1, x0c, x1c, yc0,
level, skiptop) < 0) level, skiptop) < 0)
goto done; goto done;