delta: return valid enum member
If we can't figure out what endianness a delta is, we should just throw ENDIAN_INVALID. Resolves: #550 Closes: #553 Approved by: cgwalters
This commit is contained in:
1 parent
7f2960db43
commit
0333260559
1 file changed
+1
-1
@@ -764,7 +764,7 @@ _ostree_delta_get_endianness (GVariant *superblock,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return G_BYTE_ORDER;
|
return OSTREE_DELTA_ENDIAN_INVALID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user