mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-27 18:04:17 +03:00
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:
parent
7f2960db43
commit
0333260559
@ -764,7 +764,7 @@ _ostree_delta_get_endianness (GVariant *superblock,
|
||||
}
|
||||
}
|
||||
|
||||
return G_BYTE_ORDER;
|
||||
return OSTREE_DELTA_ENDIAN_INVALID;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user